Skip to content

Commit

Permalink
Install everything in one pip command
Browse files Browse the repository at this point in the history
  • Loading branch information
asmeurer committed Mar 22, 2024
1 parent 4d54461 commit d7807e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest torch dask[array] jax[cpu]
if [ "${{ matrix.numpy-version }}" == "dev" ]; then
python -m pip install numpy --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
PIP_EXTRA='numpy --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple'
elif [ "${{ matrix.numpy-version }}" == "1.21" ]; then
python -m pip install numpy==1.21.*
PIP_EXTRA='numpy==1.21.*'
else
python -m pip install numpy==1.26.*
PIP_EXTRA='numpy==1.26.*'
fi
python -m pip install pytest torch dask[array] jax[cpu] $PIP_EXTRA
- name: Run Tests
run: |
Expand Down

0 comments on commit d7807e1

Please sign in to comment.