File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 66 strategy :
77 matrix :
88 python-version : ['3.8', '3.9', '3.10', '3.11']
9+ numpy-version : ['1.21', '1.26', 'dev']
910 fail-fast : true
11+ exclude :
12+ - python-version : ' 3.11'
13+ numpy-version : ' 1.21'
14+ - python-version : ' 3.8'
15+ numpy-version : ' dev'
1016 steps :
1117 - uses : actions/checkout@v4
1218 - uses : actions/setup-python@v5
1521 - name : Install Dependencies
1622 run : |
1723 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
1932
2033 - name : Run Tests
2134 run : |
You can’t perform that action at this time.
0 commit comments