Skip to content

Commit 9762e55

Browse files
authored
ci: explicitly specify token for codecov
Explicitly specify the codecov token to be used (i.e., `CODECOV_TOKEN`), given that the latest v4 release of the codecov action requires it to be able to generate coverage reports. Additionally, fail CI if coverage reporting fails, since coverage is an important enough metric for us to ensure that it's tracked consistently.
1 parent 1ecdb24 commit 9762e55

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
- uses: codecov/codecov-action@v4
3737
with:
3838
file: lcov.info
39+
token: ${{ secrets.CODECOV_TOKEN }}
40+
fail_ci_if_error: true
3941
- uses: coverallsapp/github-action@master
4042
with:
4143
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)