Skip to content

Commit

Permalink
reduce CI workflow matrices (#249)
Browse files Browse the repository at this point in the history
* reduce CI workflow matrices to only run macos and windows with python 3.10

* Changed exclude to include

Co-authored-by: Will Handley <[email protected]>
  • Loading branch information
lukashergt and williamjameshandley authored Jan 16, 2023
1 parent a460a21 commit fffa42e
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,16 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.8, '3.10']
os: [ubuntu-latest]
python-version: ['3.8', '3.9', '3.10']
extras: [true, false]
include:
- os: macos-latest
python-version: '3.10'
extras: true
- os: windows-latest
python-version: '3.10'
extras: true

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -62,8 +69,13 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.8, '3.10']
os: [ubuntu-latest]
python-version: ['3.8', '3.9', '3.10']
include:
- os: macos-latest
python-version: '3.10'
- os: windows-latest
python-version: '3.10'

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit fffa42e

Please sign in to comment.