Skip to content

Commit a4d47f9

Browse files
jayqipjbull
authored andcommitted
Only fail codecov if push or pull request
1 parent b3cee9d commit a4d47f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
with:
121121
token: ${{ secrets.CODECOV_TOKEN }}
122122
file: ./coverage.xml
123-
fail_ci_if_error: true
123+
fail_ci_if_error: ${{ (github.event_name == 'push' && true) || (github.event_name == 'pull_request' && true) || false }}
124124

125125
extras-test:
126126
name: Test independent installs of clients

0 commit comments

Comments
 (0)