Skip to content

Commit

Permalink
Stop failing on upload error
Browse files Browse the repository at this point in the history
  • Loading branch information
eivindjahren committed Mar 15, 2024
1 parent 77e3139 commit cf6005e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ jobs:
if: matrix.os == 'ubuntu-latest' && steps.codecov1.outcome == 'failure'
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
files: cov.xml
fail_ci_if_error: ${{ github.ref == 'refs/heads/main' }}

build-linux:
strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@ jobs:
if: steps.codecov1.outcome == 'failure'
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
files: cov.xml
fail_ci_if_error: ${{ github.ref == 'refs/heads/main' }}
2 changes: 1 addition & 1 deletion .github/workflows/doctest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ jobs:
if: steps.codecov1.outcome == 'failure'
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
files: cov.xml
fail_ci_if_error: ${{ github.ref == 'refs/heads/main' }}

0 comments on commit cf6005e

Please sign in to comment.