Skip to content

Commit

Permalink
build(github): Pass a token to Codecov
Browse files Browse the repository at this point in the history
Since version 4 the token is no longer optional [1], so forward it from a
configured GitHub secret.

[1]: https://github.com/codecov/codecov-action?tab=readme-ov-file#breaking-changes

Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Feb 17, 2024
1 parent 2fe4915 commit 563459b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
- name: Upload code coverage data
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: test
funTest-non-docker:
needs: build-web-app-reporter
Expand Down Expand Up @@ -136,6 +137,7 @@ jobs:
- name: Upload code coverage data
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: funTest-non-docker
funTest-docker:
runs-on: ubuntu-22.04
Expand All @@ -160,4 +162,5 @@ jobs:
- name: Upload code coverage data
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: funTest-docker

0 comments on commit 563459b

Please sign in to comment.