Skip to content

Commit 2b85cef

Browse files
committed
CI: actually install numpy 2.x
1 parent d278527 commit 2b85cef

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ jobs:
2828
if [[ "${{ matrix.numpy-version }}" == "dev" ]]; then
2929
python -m pip install --pre --extra-index https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy;
3030
else
31-
python -m pip install 'numpy>=1.26,<2.0';
31+
python -m pip install 'numpy=='${{ matrix.numpy-version }}
3232
fi
33-
python -m pip install -r requirements-dev.txt
33+
python -m pip install pytest hypothesis
34+
python -c'import numpy as np; print(f"{np.__version__ = }")'
3435
- name: Run Tests
3536
run: |
3637
pytest

0 commit comments

Comments
 (0)