Skip to content

Commit

Permalink
Try to guard with success flag
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed Mar 8, 2024
1 parent 0346e83 commit ae7f8eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
run: coverage run --data-file=.coverage-doctest --module pytest src/ README.rst

- name: Coverage report for doctest only
if: matrix.python-version == '3.11'
if: success() && matrix.python-version == '3.11'
run: |
coverage report --data-file=.coverage-doctest
coverage xml --data-file=.coverage-doctest -o doctest-coverage.xml
Expand Down

0 comments on commit ae7f8eb

Please sign in to comment.