Skip to content

Commit

Permalink
Reordered numpy scipy installation step
Browse files Browse the repository at this point in the history
  • Loading branch information
darrylong committed Jun 25, 2024
1 parent 5f40c95 commit db34581
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@ jobs:
- name: Upgrade pip wheel setuptools
run: python${{ matrix.versions.python }} -m pip install wheel setuptools pip --upgrade

- name: Install numpy ${{ matrix.versions.numpy }}, scipy ${{ matrix.versions.scipy }}
run: pip install numpy==${{ matrix.versions.numpy }} scipy==${{ matrix.versions.scipy }}

- name: Install other dependencies
run: |
pip install Cython pytest pytest-cov flake8
python${{ matrix.versions.python }} setup.py build_ext -j${{ steps.cpu-cores.outputs.count }}
pip install -e .[tests]
- name: Install 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 db34581

Please sign in to comment.