Skip to content

Commit

Permalink
Update test-coverage.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
remlapmot committed Aug 22, 2024
1 parent 80ed071 commit 47d3ed9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ jobs:

- uses: codecov/codecov-action@v4
with:
fail_ci_if_error: ${{ github.event_name != 'pull_request' && true || false }}
# Fail if error if not on PR, or if on PR and token is given
fail_ci_if_error: ${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN }}
file: ./cobertura.xml
plugin: noop
disable_search: true
Expand Down

0 comments on commit 47d3ed9

Please sign in to comment.