Skip to content

Commit ee6b734

Browse files
Drop ndonnx for 3.9
1 parent fdd39cf commit ee6b734

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/tests.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Tests
2-
on: [push, pull_request]
2+
on: [push]
33
jobs:
44
tests:
55
runs-on: ubuntu-latest
@@ -28,13 +28,21 @@ jobs:
2828
else
2929
PIP_EXTRA='numpy==1.26.*'
3030
fi
31+
32+
if [ "${{ matrix.python-version }}" == "3.9" ]; then
33+
sed -i '/ndonnx/d' requirements-dev.txt
34+
fi
3135
python -m pip install -r requirements-dev.txt $PIP_EXTRA
3236
3337
- name: Run Tests
3438
run: |
3539
if [[ "${{ matrix.numpy-version }}" == "1.21" || "${{ matrix.numpy-version }}" == "dev" ]]; then
3640
PYTEST_EXTRA=(-k "numpy and not jax and not torch and not dask and not sparse")
3741
fi
42+
43+
if [[ "${{ matrix.python-version }}" == "3.9" ]]; then
44+
PYTEST_EXTRA+=(-k "not ndonnx")
45+
fi
3846
pytest -v "${PYTEST_EXTRA[@]}"
3947
4048
# Make sure it installs

0 commit comments

Comments
 (0)