Skip to content

Commit

Permalink
Only execute coverage report job on "pull_request" events
Browse files Browse the repository at this point in the history
  • Loading branch information
fgrosse committed Mar 12, 2024
1 parent 8838d0a commit 3f3b6b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: CI

on:
pull_request:
types: [opened, reopened, synchronize]
push:
branches:
- 'main'
Expand Down Expand Up @@ -30,6 +31,7 @@ jobs:

code_coverage:
name: "Code coverage report"
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
needs: unit_tests
env:
Expand Down

0 comments on commit 3f3b6b9

Please sign in to comment.