Skip to content

Commit 89ea2b7

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 81073a1 commit 89ea2b7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.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)