Skip to content

Commit

Permalink
Python -m might fix things
Browse files Browse the repository at this point in the history
  • Loading branch information
JDBetteridge committed Sep 11, 2023
1 parent c18e10e commit e34e6cf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ jobs:
shell: bash
working-directory: ${{ env.PETSC_DIR }}/src/binding/petsc4py
run: |
pip install --upgrade pip
pip install --upgrade wheel 'cython<3' numpy
pip install --no-deps .
python -m pip install --upgrade pip
python -m pip install --upgrade wheel 'cython<3' numpy
python -m pip install --no-deps .
- name: Checkout pyop3
uses: actions/checkout@v4
Expand All @@ -69,14 +69,14 @@ jobs:
shell: bash
working-directory: pyop3
run: |
pip install .
pip install pytest-cov pytest-timeout pytest-xdist pytest-timeout
python -m pip install .
python -m pip install pytest-cov pytest-timeout pytest-xdist pytest-timeout
- name: Run tests
shell: bash
working-directory: pyop3
run: |
pytest \
python -m pytest \
--durations=200 \
--tb=native \
--cov pyop3 \
Expand Down

0 comments on commit e34e6cf

Please sign in to comment.