Skip to content

Commit

Permalink
Only run coverage on push, not on pull_request
Browse files Browse the repository at this point in the history
No need to run it twice, running it on the branch is enough,
no need to measure coverage on the merge commit too.
  • Loading branch information
robinst committed Apr 27, 2024
1 parent 72d8d70 commit 0c1378d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:

coverage:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' }}
steps:
- name: Checkout sources
uses: actions/checkout@v4
Expand Down

0 comments on commit 0c1378d

Please sign in to comment.