Skip to content

Commit 94e2bdf

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 a6475d9 commit 94e2bdf

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
@@ -42,6 +42,8 @@ jobs:
4242
if: matrix.version == '1' && matrix.os == 'ubuntu-latest'
4343
with:
4444
file: lcov.info
45+
token: ${{ secrets.CODECOV_TOKEN }}
46+
fail_ci_if_error: true
4547
- uses: coverallsapp/github-action@master
4648
if: matrix.version == '1' && matrix.os == 'ubuntu-latest'
4749
with:

0 commit comments

Comments
 (0)