Skip to content

Commit 9e9e94d

Browse files
authored
Merge pull request #797 from lukpueh/trim-test-matrix
ci: test macOS and Windows on latest Python only
2 parents 34a4295 + 00bfc4b commit 9e9e94d

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/_test.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,19 @@ jobs:
88
test:
99
strategy:
1010
fail-fast: false
11-
# Run tests on each OS/Python combination
1211
matrix:
12+
# Run tests once on each supported Python
1313
python-version: ["3.8", "3.9", "3.10", "3.11"]
14-
os: [ubuntu-latest, macos-latest, windows-latest]
14+
os: [ubuntu-latest]
1515
toxenv: [py]
16-
1716
include:
17+
# Run macOS, Windows and "special" tests on latest Python version only
18+
- python-version: "3.11"
19+
os: macos-latest
20+
toxenv: py
21+
- python-version: "3.11"
22+
os: windows-latest
23+
toxenv: py
1824
- python-version: "3.11"
1925
os: ubuntu-latest
2026
toxenv: purepy311

0 commit comments

Comments
 (0)