Skip to content

Commit eba6408

Browse files
committed
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 42c4f9f commit eba6408

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,6 @@ jobs:
4949
directories: src,ext
5050
- uses: codecov/codecov-action@v4
5151
with:
52-
files: lcov.info
52+
files: lcov.info
53+
token: ${{ secrets.CODECOV_TOKEN }}
54+
fail_ci_if_error: true

0 commit comments

Comments
 (0)