Skip to content

Commit

Permalink
Switch to pytest over tox
Browse files Browse the repository at this point in the history
  • Loading branch information
rjfarmer committed Jan 21, 2024
1 parent f20069b commit 378f7d3
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,18 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox tox-gh-actions build wheel pytest
python -m pip install build wheel pytest
- uses: fortran-lang/setup-fortran@v1
id: setup-fortran
with:
compiler: ${{ matrix.toolchain.compiler }}
version: ${{ matrix.toolchain.version }}

- name: Run tox
run: tox -e py
env:
FC: ${{ env.FC }}
_GFORT2PY_TEST_FLAG: 1
- name: Build
run: python -m pip install .


- name: Test
run: python -m pytest -v

0 comments on commit 378f7d3

Please sign in to comment.