Skip to content

Commit

Permalink
Only run numpy specific tests for numpy=dev
Browse files Browse the repository at this point in the history
Other libraries currently break with numpy 2.0.
  • Loading branch information
asmeurer committed Mar 25, 2024
1 parent 04551ed commit f7fb29f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Run Tests
run: |
if [ "${{ matrix.numpy-version }}" == "1.21" ]; then
if [ "${{ matrix.numpy-version }}" == "1.21" || "${{ matrix.numpy-version }}" == "dev" ]; then
PYTEST_EXTRA=(-k "numpy and not jax")
fi
pytest "${PYTEST_EXTRA[@]}"
Expand Down

0 comments on commit f7fb29f

Please sign in to comment.