Skip to content

Commit

Permalink
TST Test on newer versions of NumPy
Browse files Browse the repository at this point in the history
Remove checks on version 1.18
  • Loading branch information
luispedro committed Jan 8, 2024
1 parent e6a3f98 commit 69a4f26
Showing 1 changed file with 29 additions and 9 deletions.
38 changes: 29 additions & 9 deletions .github/workflows/test-python-package-with-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,21 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
numpy-version: ['1.18', '1.19', '1.20', '1.21', '1.22', '1.23', '1.24']
python-version:
- '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.7 is too old for NumPy 1.22+
- python-version: '3.7'
Expand All @@ -18,6 +31,20 @@ jobs:
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'

# NumPy 1.19 is not available on 3.7-9
- python-version: '3.7'
Expand All @@ -27,22 +54,15 @@ jobs:
- python-version: '3.9'
numpy-version: '1.19'

# NumPy 1.18 are too old for Python 3.9
- python-version: '3.9'
numpy-version: '1.18'

# NumPy <1.21 are too old for Python 3.10
- python-version: '3.10'
numpy-version: '1.18'
- 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.18'
- python-version: '3.11'
numpy-version: '1.19'
- python-version: '3.11'
Expand Down

0 comments on commit 69a4f26

Please sign in to comment.