Skip to content

Commit

Permalink
Merge pull request #290 from sfowl/skip-cov-on-push
Browse files Browse the repository at this point in the history
Skip code coverage report on push to main
  • Loading branch information
sfowl authored Jan 13, 2025
2 parents 80c5305 + 407e5d9 commit bc5f26e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
# XXX this will fail if main does not already have a coverage.out report uploaded by the previous job
code-coverage:
name: Code coverage report
if: github.event_name == "pull_request"
runs-on: ubuntu-latest
needs: build-and-test
steps:
Expand All @@ -47,7 +48,7 @@ jobs:
uses: fgrosse/[email protected]
with:
coverage-file-name: coverage.out
skip-comment: true # requires write permissin on pull requests
skip-comment: true # requires write permission on pull requests
# below options help track coverage across forks
trim: github.com/project-kessel/inventory-api
root-package: ""
Expand Down

0 comments on commit bc5f26e

Please sign in to comment.