Skip to content

Commit

Permalink
CI: pytest --last-fail and -x support
Browse files Browse the repository at this point in the history
  • Loading branch information
klieret committed Jun 5, 2024
1 parent c634cac commit ff89b0d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ jobs:
run: |
uv pip install --python ${Python_ROOT_DIR} '.[dev]'
- name: Run pytest
run: |
pytest --cov
uses: sjvrijn/pytest-last-failed@v2
with:
pytest-args: '--exitfirst --cov'
- name: Explicitly convert coverage to xml
run: coverage xml
- name: Upload coverage reports to Codecov
Expand Down

0 comments on commit ff89b0d

Please sign in to comment.