Skip to content

Commit

Permalink
ci: test macOS and Windows on latest Python only
Browse files Browse the repository at this point in the history
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 <lukas.puehringer@nyu.edu>
  • Loading branch information
lukpueh committed Apr 24, 2024
1 parent 34a4295 commit 486858e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,17 @@ jobs:
test:
strategy:
fail-fast: false
# Run tests on each OS/Python combination
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest]
toxenv: [py]

include:
- python-version: "3.11"
os: macos-latest
toxenv: py
- python-version: "3.11"
os: windows-latest
toxenv: py
- python-version: "3.11"
os: ubuntu-latest
toxenv: purepy311
Expand Down

0 comments on commit 486858e

Please sign in to comment.