Skip to content

Commit

Permalink
TST Test on newer versions of Python
Browse files Browse the repository at this point in the history
  • Loading branch information
luispedro committed Mar 5, 2024
1 parent 1dc9fbe commit e3b68e7
Showing 1 changed file with 60 additions and 11 deletions.
71 changes: 60 additions & 11 deletions .github/workflows/test-python-package-with-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,70 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9']
numpy-version: ['1.17', '1.18', '1.19', '1.20', '1.21']
python-version:
- '3.6'
- '3.7'
- '3.8'
- '3.9'
- '3.10'
- '3.11'
numpy-version:
- '1.19'
- '1.20'
- '1.21'
- '1.22'
- '1.23'
- '1.24'
- '1.25'
- '1.26'
exclude:
# 3.6 is too old for NumPy 1.20/1.21
- python-version: '3.6'
# 3.7 is too old for NumPy 1.22+
- python-version: '3.7'
numpy-version: '1.22'
- python-version: '3.7'
numpy-version: '1.23'
- python-version: '3.7'
numpy-version: '1.24'
- python-version: '3.7'
numpy-version: '1.25'
- python-version: '3.7'
numpy-version: '1.26'

# 3.8 is too old for NumPy 1.25+
- python-version: '3.8'
numpy-version: '1.25'
- python-version: '3.8'
numpy-version: '1.26'

# NumPy 1.20 & Python 3.7 trigger a bad resolve from mamba
- python-version: '3.7'
numpy-version: '1.20'
- python-version: '3.6'
numpy-version: '1.21'

# NumPy 1.17/1.18 are too old for Python 3.9
# NumPy 1.19 is not available on 3.7-9
- python-version: '3.7'
numpy-version: '1.19'
- python-version: '3.8'
numpy-version: '1.19'
- python-version: '3.9'
numpy-version: '1.17'
- python-version: '3.9'
numpy-version: '1.18'
max-parallel: 5
numpy-version: '1.19'


# NumPy <1.21 are too old for Python 3.10
- python-version: '3.10'
numpy-version: '1.19'
- python-version: '3.10'
numpy-version: '1.20'


# NumPy <1.23 are too old for Python 3.11
- python-version: '3.11'
numpy-version: '1.19'
- python-version: '3.11'
numpy-version: '1.20'
- python-version: '3.11'
numpy-version: '1.21'
- python-version: '3.11'
numpy-version: '1.22'

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

0 comments on commit e3b68e7

Please sign in to comment.