Skip to content

Commit d7807e1

Browse files
committed
Install everything in one pip command
1 parent 4d54461 commit d7807e1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/tests.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
- name: Install Dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24-
python -m pip install pytest torch dask[array] jax[cpu]
2524
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
25+
PIP_EXTRA='numpy --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple'
2726
elif [ "${{ matrix.numpy-version }}" == "1.21" ]; then
28-
python -m pip install numpy==1.21.*
27+
PIP_EXTRA='numpy==1.21.*'
2928
else
30-
python -m pip install numpy==1.26.*
29+
PIP_EXTRA='numpy==1.26.*'
3130
fi
31+
python -m pip install pytest torch dask[array] jax[cpu] $PIP_EXTRA
3232
3333
- name: Run Tests
3434
run: |

0 commit comments

Comments
 (0)