Skip to content

Commit 00bfc4b

Browse files
committed
ci: test macOS and Windows on latest Python only
CI started failing recently, because new macos-latest runs on arm, which does not include all older Python versions. As workaround and for the sake of a slimmer test matrix, we drop all but latest Python tests on macOS and Windows. The remaining matrix should still give us reasonable coverage. Related discussion in: #792 (comment) Signed-off-by: Lukas Puehringer <[email protected]>
1 parent 34a4295 commit 00bfc4b

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)