Skip to content

Commit

Permalink
problems with conda env and pip, better to restore same conda install…
Browse files Browse the repository at this point in the history
…s that were there originally
  • Loading branch information
enzbus committed Nov 3, 2023
1 parent 6036646 commit 9b7bbc1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ jobs:
- name: Install dependencies
run: |
if [[ "$PYTHON_VERSION" == "3.7" ]] || [[ "$PYTHON_VERSION" == "3.8" ]] || [[ "$PYTHON_VERSION" == "3.9" ]]; then
conda install scipy=1.5 numpy=1.19 mkl openblas lapack
conda install scipy=1.5 numpy=1.19 pytest mkl openblas lapack
elif [[ "$PYTHON_VERSION" == "3.10" ]]; then
conda install openblas numpy=1.21
conda install scipy=1.7 numpy=1.21 pytest mkl openblas lapack
elif [[ "$PYTHON_VERSION" == "3.11" ]]; then
conda install openblas numpy=1.23.4
conda install scipy=1.9.3 numpy=1.23.4 pytest mkl openblas lapack
elif [[ "$PYTHON_VERSION" == "3.12" ]]; then
conda install openblas numpy
conda install scipy numpy pytest mkl openblas lapack
fi
- name: Build
run: |
Expand All @@ -129,7 +129,6 @@ jobs:
fi
- name: Test
run: |
python -m pip install pytest
pytest
rm -rf build/
- name: Build and test windows wheels
Expand Down

0 comments on commit 9b7bbc1

Please sign in to comment.