Skip to content

Commit 2a97306

Browse files
committed
Update test.yml
1 parent acae31e commit 2a97306

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,12 @@ jobs:
8484
install-torch: [0]
8585
install-xarray: [0]
8686
part:
87-
- "tests --ignore=tests/tensor --ignore=tests/scan --ignore=tests/sparse --ignore=tests/xtensor"
87+
- "tests --ignore=tests/tensor --ignore=tests/scan --ignore=tests/xtensor"
8888
- "tests/scan"
89-
- "tests/sparse"
90-
- "tests/tensor --ignore=tests/tensor/conv --ignore=tests/tensor/rewriting --ignore=tests/tensor/test_math.py --ignore=tests/tensor/test_basic.py --ignore=tests/tensor/test_inplace.py --ignore=tests/tensor/test_blas.py --ignore=tests/tensor/test_elemwise.py --ignore=tests/tensor/test_math_scipy.py"
91-
- "tests/tensor/conv"
89+
- "tests/tensor --ignore=tests/tensor/rewriting --ignore=tests/tensor/test_math.py --ignore=tests/tensor/test_basic.py --ignore=tests/tensor/test_inplace.py --ignore=tests/tensor/conv --ignore=tests/tensor/test_blas.py --ignore=tests/tensor/test_elemwise.py --ignore=tests/tensor/test_math_scipy.py"
9290
- "tests/tensor/rewriting"
9391
- "tests/tensor/test_math.py"
94-
- "tests/tensor/test_basic.py tests/tensor/test_inplace.py"
92+
- "tests/tensor/test_basic.py tests/tensor/test_inplace.py tests/tensor/conv"
9593
- "tests/tensor/test_blas.py tests/tensor/test_elemwise.py tests/tensor/test_math_scipy.py"
9694
exclude:
9795
- python-version: "3.10"
@@ -123,14 +121,21 @@ jobs:
123121
numpy-version: "~=2.1.0"
124122
fast-compile: 0
125123
float32: 0
126-
part: "tests/link/numba"
124+
part: "tests/link/numba --ignore=tests/link/numba/test_slinalg.py"
127125
- install-numba: 1
128126
os: "ubuntu-latest"
129127
python-version: "3.13"
130128
numpy-version: "~=2.1.0"
131129
fast-compile: 0
132130
float32: 0
133-
part: "tests/link/numba"
131+
part: "tests/link/numba --ignore=tests/link/numba/test_slinalg.py"
132+
- install-numba: 1
133+
os: "ubuntu-latest"
134+
python-version: "3.13"
135+
numpy-version: "~=2.1.0"
136+
fast-compile: 0
137+
float32: 0
138+
part: "tests/link/numba/test_slinalg.py"
134139
- install-jax: 1
135140
os: "ubuntu-latest"
136141
python-version: "3.10"
@@ -207,7 +212,7 @@ jobs:
207212
if [[ $INSTALL_TORCH == "1" ]]; then micromamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}" pytorch pytorch-cuda=12.1 "mkl<=2024.0" -c pytorch -c nvidia; fi
208213
if [[ $INSTALL_XARRAY == "1" ]]; then micromamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}" xarray xarray-einstats; fi
209214
pip install pytest-sphinx
210-
215+
211216
pip install -e ./
212217
micromamba list && pip freeze
213218
python -c 'import pytensor; print(pytensor.config.__str__(print_doc=False))'
@@ -218,7 +223,7 @@ jobs:
218223
fi
219224
env:
220225
PYTHON_VERSION: ${{ matrix.python-version }}
221-
NUMPY_VERSION: ${{ matrix.numpy-version }}
226+
NUMPY_VERSION: ${{ matrix.numpy-version }}
222227
INSTALL_NUMBA: ${{ matrix.install-numba }}
223228
INSTALL_JAX: ${{ matrix.install-jax }}
224229
INSTALL_TORCH: ${{ matrix.install-torch}}
@@ -343,4 +348,3 @@ jobs:
343348
directory: ./coverage/
344349
fail_ci_if_error: true
345350
token: ${{ secrets.CODECOV_TOKEN }}
346-

0 commit comments

Comments
 (0)