Skip to content

Commit

Permalink
Merge pull request #797 from lukpueh/trim-test-matrix
Browse files Browse the repository at this point in the history
ci: test macOS and Windows on latest Python only
  • Loading branch information
lukpueh authored Apr 25, 2024
2 parents 34a4295 + 00bfc4b commit 9e9e94d
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,19 @@ jobs:
test:
strategy:
fail-fast: false
# Run tests on each OS/Python combination
matrix:
# Run tests once on each supported Python
python-version: ["3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest]
toxenv: [py]

include:
# Run macOS, Windows and "special" tests on latest Python version only
- 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 9e9e94d

Please sign in to comment.