Skip to content

Commit c03daa3

Browse files
committed
CI: install jax/sparse/torch in more jobs
Also, `ndonnx` has wheels for all python versions now; And we do not bother with jax or dask numpy < 1.
1 parent 21aa31b commit c03daa3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,20 @@ jobs:
3232
python -m pip install --upgrade pip
3333
python -m pip install pytest
3434
35+
# Don't `pip install .[dev]` as it would pull in the whole torch cuda stack
36+
python -m pip install array-api-strict
37+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
38+
3539
if [ "${{ matrix.numpy-version }}" == "dev" ]; then
3640
python -m pip install numpy --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
41+
python -m pip install dask[array] jax[cpu] sparse ndonnx
3742
elif [ "${{ matrix.numpy-version }}" == "1.22" ]; then
3843
python -m pip install 'numpy==1.22.*'
3944
elif [ "${{ matrix.numpy-version }}" == "1.26" ]; then
4045
python -m pip install 'numpy==1.26.*'
4146
else
42-
# Don't `pip install .[dev]` as it would pull in the whole torch cuda stack
43-
python -m pip install array-api-strict dask[array] jax[cpu] numpy sparse
44-
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
45-
if [ "${{ matrix.python-version }}" != "3.13" ]; then
46-
# onnx wheels are not available on Python 3.13 at the moment of writing
47-
python -m pip install ndonnx
48-
fi
47+
python -m pip install numpy
48+
python -m pip install dask[array] jax[cpu] sparse ndonnx
4949
fi
5050
5151
- name: Dump pip environment

0 commit comments

Comments
 (0)