Skip to content

Commit 3e1f24c

Browse files
committed
Only run numpy tests for numpy 1.21
1 parent c7b5780 commit 3e1f24c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/tests.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ jobs:
3030
3131
- name: Run Tests
3232
run: |
33-
pytest
33+
if [ "${{ matrix.numpy-version }}" == "1.21" ]; then
34+
PYTEST_EXTRA='-k numpy'
35+
fi
36+
pytest $PYTEST_EXTRA
3437
3538
# Make sure it installs
3639
python setup.py install

0 commit comments

Comments
 (0)