File tree 1 file changed +14
-1
lines changed
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 6
6
strategy :
7
7
matrix :
8
8
python-version : ['3.8', '3.9', '3.10', '3.11']
9
+ numpy-version : ['1.21', '1.26', 'dev']
9
10
fail-fast : true
11
+ exclude :
12
+ - python-version : ' 3.11'
13
+ numpy-version : ' 1.21'
14
+ - python-version : ' 3.8'
15
+ numpy-version : ' dev'
10
16
steps :
11
17
- uses : actions/checkout@v4
12
18
- uses : actions/setup-python@v5
15
21
- name : Install Dependencies
16
22
run : |
17
23
python -m pip install --upgrade pip
18
- python -m pip install pytest numpy torch dask[array] jax[cpu]
24
+ python -m pip install pytest torch dask[array] jax[cpu]
25
+ if [ "${{ matrix.numpy-version }}" == "dev" ]; then
26
+ python -m pip install numpy --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
27
+ elif [ "${{ matrix.numpy-version }}" == "1.21" ]; then
28
+ python -m pip install numpy==1.21.*
29
+ else
30
+ python -m pip install numpy==1.26.*
31
+ fi
19
32
20
33
- name : Run Tests
21
34
run : |
You can’t perform that action at this time.
0 commit comments