Skip to content

Commit

Permalink
CI: Trim the test matrix to run only latest Python on macOS and Windows
Browse files Browse the repository at this point in the history
This is in order to reduce resource consumption, and to make the test
suite run faster on CI.
  • Loading branch information
amotl committed Mar 12, 2023
1 parent d27386e commit 87984b0
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,13 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-latest, windows-latest]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"] # "3.12-dev"
exclude:

# Breaks on building `winsdk`
- os: "windows-latest"
python-version: "3.6"

# Takes ages on building `winsdk`
os: ["ubuntu-20.04"]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
include:
- os: "macos-latest"
python-version: "3.11"
- os: "windows-latest"
python-version: "3.12-dev"
python-version: "3.11"
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
Expand Down

0 comments on commit 87984b0

Please sign in to comment.