Skip to content

Commit

Permalink
trying again with ci matrix
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Papior <[email protected]>
  • Loading branch information
zerothi committed Aug 1, 2024
1 parent 8af06e5 commit 54ae13d
Showing 1 changed file with 15 additions and 19 deletions.
34 changes: 15 additions & 19 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,36 +65,32 @@ jobs:
strategy:
matrix:
python-version: ['3.9', '3.12']
full: [true]
minimal: [true, false]
full-test: [true, false]
minimal-dep: [true, false]
os: [ubuntu-latest, macos-12, macos-14]
exclude:
# only run full test suite on py=3.12
- python-version: '3.12'
minimal: true
full-test: false
# no minimal dependency on 3.12
- python-version: '3.12'
minimal-dep: true
# minimal dependency on ARM does not make sense (wheels not present)
- os: macos-14
minimal: true
- python-version: '3.9'
full: true
minimal: true
include:
- python-version: '3.9'
minimal: true
full: false
os: ubuntu-latest
- python-version: '3.9'
minimal: true
full: false
os: macos-12
minimal-dep: true
# don't run full test suite for minimal-dependency checks
- full-test: true
minimal-dep: true

steps:
- name: Checkout sisl
uses: actions/checkout@v4
with:
ref: '${{ github.event.inputs.branch }}'
# The files submodule is required for tests purposes
submodules: ${{ matrix.full }}
submodules: ${{ matrix.full-test }}
# the 'files' submodule uses lfs
lfs: ${{ matrix.full }}
lfs: ${{ matrix.full-test }}

- name: Ensure fortran
uses: fortran-lang/setup-fortran@v1
Expand All @@ -118,7 +114,7 @@ jobs:
python -m pip install --progress-bar=off --upgrade pip
- name: Python minimal versions
if: ${{ matrix.minimal }}
if: ${{ matrix.minimal-dep }}
run: |
python -m pip install --progress-bar=off -v \
"numpy==1.21.*" "scipy==1.6.*" "xarray==0.21.*"
Expand Down

0 comments on commit 54ae13d

Please sign in to comment.