Skip to content
This repository was archived by the owner on Sep 28, 2024. It is now read-only.

Commit a494387

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 95ef93b commit a494387

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ jobs:
4444
- uses: codecov/codecov-action@v4
4545
with:
4646
files: lcov.info
47+
token: ${{ secrets.CODECOV_TOKEN }}
48+
fail_ci_if_error: true
4749
docs:
4850
name: Documentation
4951
runs-on: ubuntu-latest
@@ -68,3 +70,5 @@ jobs:
6870
- uses: codecov/codecov-action@v4
6971
with:
7072
file: lcov.info
73+
token: ${{ secrets.CODECOV_TOKEN }}
74+
fail_ci_if_error: true

0 commit comments

Comments
 (0)