Skip to content

Commit afab058

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 5697b0f commit afab058

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/Documentation.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ jobs:
2727
- uses: codecov/codecov-action@v4
2828
with:
2929
file: lcov.info
30-
30+
token: ${{ secrets.CODECOV_TOKEN }}
31+
fail_ci_if_error: true

0 commit comments

Comments
 (0)