File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 1
1
name : Tests
2
- on : [push, pull_request ]
2
+ on : [push]
3
3
jobs :
4
4
tests :
5
5
runs-on : ubuntu-latest
@@ -28,13 +28,21 @@ jobs:
28
28
else
29
29
PIP_EXTRA='numpy==1.26.*'
30
30
fi
31
+
32
+ if [ "${{ matrix.python-version }}" == "3.9" ]; then
33
+ sed -i '/ndonnx/d' requirements-dev.txt
34
+ fi
31
35
python -m pip install -r requirements-dev.txt $PIP_EXTRA
32
36
33
37
- name : Run Tests
34
38
run : |
35
39
if [[ "${{ matrix.numpy-version }}" == "1.21" || "${{ matrix.numpy-version }}" == "dev" ]]; then
36
40
PYTEST_EXTRA=(-k "numpy and not jax and not torch and not dask and not sparse")
37
41
fi
42
+
43
+ if [[ "${{ matrix.python-version }}" == "3.9" ]]; then
44
+ PYTEST_EXTRA+=(-k "not ndonnx")
45
+ fi
38
46
pytest -v "${PYTEST_EXTRA[@]}"
39
47
40
48
# Make sure it installs
You can’t perform that action at this time.
0 commit comments