Skip to content

Commit 6557d2d

Browse files
committed
TST/MAINT: Add oldest-supported-numpy
This uses the SciPy package `oldest-supported-numpy` to test against the oldest supported version of NumPy for that specific architecture. This is useful to support old features.
1 parent cdd3e25 commit 6557d2d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [ubuntu-latest, macos-latest, windows-latest]
12-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", 'pypy3.7', 'pypy3.8', 'pypy3.9']
12+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
13+
numpy-version: ["oldest-supported-numpy", "numpy"]
1314

1415
steps:
1516
- uses: actions/checkout@v3
@@ -20,7 +21,7 @@ jobs:
2021
- name: Install dependencies
2122
run: |
2223
python -m pip install --upgrade pip
23-
pip install numpy
24+
pip install ${{ matrix.numpy-version }}
2425
- name: Lint with flake8
2526
run: |
2627
pip install flake8

0 commit comments

Comments
 (0)