Skip to content

Commit 64b2a25

Browse files
MaisenbacherDigaw
authored andcommitted
build: Add token for coverage test
The code coverage action is silently failing partly because the required Codecov token is missing. Reading the token from the GitHub secrets. The missing gpg package must be fixed in https://github.com/linux-nvme/ci-containers. Furthermore, fail the coverage workflow if the codecov-action errors out. Signed-off-by: Dennis Maisenbacher <[email protected]>
1 parent 9f34fcb commit 64b2a25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/coverage.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ jobs:
1919
scripts/build.sh coverage
2020
- uses: codecov/codecov-action@v4
2121
with:
22-
fail_ci_if_error: false
22+
token: ${{ secrets.CODECOV_TOKEN }}
23+
fail_ci_if_error: true

0 commit comments

Comments
 (0)