Skip to content

Commit

Permalink
update dependency installing sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
darrylong committed Jun 25, 2024
1 parent 6185604 commit a64f2c9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,15 @@ jobs:
run: python${{ matrix.versions.python }} -m pip install wheel setuptools pip --upgrade

- name: Install other dependencies
run: pip install Cython pytest pytest-cov flake8

- name: Install pinned dependencies - numpy ${{ matrix.versions.numpy }}, scipy ${{ matrix.versions.scipy }}
run: |
pip install numpy scipy Cython pytest pytest-cov flake8
pip uninstall numpy scipy
pip install numpy==${{ matrix.versions.numpy }} scipy==${{ matrix.versions.scipy }}
python${{ matrix.versions.python }} setup.py build_ext -j${{ steps.cpu-cores.outputs.count }}
pip install -e .[tests]
- name: Install pinned dependencies - numpy ${{ matrix.versions.numpy }}, scipy ${{ matrix.versions.scipy }}
run: pip install numpy==${{ matrix.versions.numpy }} scipy==${{ matrix.versions.scipy }}

- name: Display numpy version
run: python${{ matrix.versions.python }} -c "import numpy; print(numpy.__version__)"

Expand Down

0 comments on commit a64f2c9

Please sign in to comment.