6
6
strategy :
7
7
matrix :
8
8
include :
9
- - python-version : ' 3.10'
10
- numpy-version : ' 1.22'
11
- - python-version : ' 3.10'
12
- numpy-version : ' 1.26'
13
- - python-version : ' 3.10'
14
- numpy-version : ' latest'
15
- - python-version : ' 3.11'
16
- numpy-version : ' dev'
17
- - python-version : ' 3.12'
18
- numpy-version : ' 1.22'
19
- - python-version : ' 3.12'
20
- numpy-version : ' 1.26'
21
- - python-version : ' 3.13'
22
- numpy-version : ' latest'
23
- - python-version : ' 3.13'
24
- numpy-version : ' dev'
25
-
9
+ - numpy-version : ' 1.22'
10
+ python-version : ' 3.10'
11
+ - numpy-version : ' 1.26'
12
+ python-version : ' 3.10'
13
+ - numpy-version : ' 1.26'
14
+ python-version : ' 3.12'
15
+ - numpy-version : ' latest'
16
+ python-version : ' 3.10'
17
+ - numpy-version : ' latest'
18
+ python-version : ' 3.13'
19
+ - numpy-version : ' dev'
20
+ python-version : ' 3.11'
21
+ - numpy-version : ' dev'
22
+ python-version : ' 3.13'
23
+
26
24
fail-fast : false
27
25
steps :
28
26
- uses : actions/checkout@v4
@@ -32,23 +30,17 @@ jobs:
32
30
- name : Install Dependencies
33
31
run : |
34
32
python -m pip install --upgrade pip
33
+ python -m pip install pytest
34
+
35
35
if [ "${{ matrix.numpy-version }}" == "dev" ]; then
36
- python -m pip install pytest
37
36
python -m pip install numpy --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
38
37
elif [ "${{ matrix.numpy-version }}" == "1.22" ]; then
39
- python -m pip install pytest numpy==1.22.*
38
+ python -m pip install ' numpy==1.22.*'
40
39
elif [ "${{ matrix.numpy-version }}" == "1.26" ]; then
41
- python -m pip install pytest numpy==1.26.*
40
+ python -m pip install ' numpy==1.26.*'
42
41
else
43
- # Don't pip install .[dev] as it would pull in the whole torch cuda stack
44
- python -m pip install \
45
- array-api-strict \
46
- dask[array] \
47
- jax[cpu] \
48
- numpy \
49
- pytest \
50
- sparse \
51
- ndonnx \
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] ndonnx numpy sparse
52
44
python -m -pip install torch --index-url https://download.pytorch.org/whl/cpu
53
45
fi
54
46
0 commit comments