Skip to content

Commit a159e81

Browse files
committed
MAINT: Test against latest NumPy
1 parent 696b834 commit a159e81

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
strategy:
2323
matrix:
24+
# We test NumPy dev on 3.11
2425
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
2526
requires: ['requirements.txt']
2627
include:
@@ -37,9 +38,13 @@ jobs:
3738
allow-prereleases: true
3839
- name: Install
3940
run: |
41+
set -eo pipefail
4042
python -m pip install --upgrade pip
4143
python -m pip install -r ${{ matrix.requires }}
4244
python -m pip install -r requirements-dev.txt
45+
if [[ "${{ matrix.python-version }}" == "3.11" ]]; then
46+
python -m pip install --only-binary numpy --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple "numpy>=2.1.0.dev0"
47+
fi
4348
python -m pip install .
4449
- name: Lint
4550
run: |

0 commit comments

Comments
 (0)