Skip to content

Commit

Permalink
chore: Only send code coverage reports for changes made to the master…
Browse files Browse the repository at this point in the history
… branch
  • Loading branch information
pbrod committed Oct 4, 2024
1 parent 847aa55 commit ccaddb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
pdm run pytest
coverage:
needs: ci
# Only run this job if new work is pushed to the "master" branch
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down

0 comments on commit ccaddb0

Please sign in to comment.