Skip to content

Commit

Permalink
Drop ndonnx for 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
adityagoel4512 committed Jun 24, 2024
1 parent fdd39cf commit f12714f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Tests
on: [push, pull_request]
on: [push]
jobs:
tests:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -28,13 +28,21 @@ jobs:
else
PIP_EXTRA='numpy==1.26.*'
fi
if [ "${{ matrix.python-version }}" == "3.9" ]; then
sed -i '/ndonnx/d' requirements-dev.txt
fi
python -m pip install -r requirements-dev.txt $PIP_EXTRA
- name: Run Tests
run: |
if [[ "${{ matrix.numpy-version }}" == "1.21" || "${{ matrix.numpy-version }}" == "dev" ]]; then
PYTEST_EXTRA=(-k "numpy and not jax and not torch and not dask and not sparse")
fi
if [[ "${{ matrix.python-version }}" == "3.9" ]]; then
PYTEST_EXTRA+=(-k "not ndonnx")
fi
pytest -v "${PYTEST_EXTRA[@]}"
# Make sure it installs
Expand Down

0 comments on commit f12714f

Please sign in to comment.