ci: use codecov token in CICD/GnuTests workflows

This commit is contained in:
Daniel Hofstetter 2024-02-04 16:12:00 +01:00 committed by Sylvestre Ledru
parent 629a926829
commit 9f2e426bf2
2 changed files with 2 additions and 2 deletions

View file

@ -1043,9 +1043,8 @@ jobs:
echo "report=${COVERAGE_REPORT_FILE}" >> $GITHUB_OUTPUT
- name: Upload coverage results (to Codecov.io)
uses: codecov/codecov-action@v4
# if: steps.vars.outputs.HAS_CODECOV_TOKEN
with:
# token: ${{ secrets.CODECOV_TOKEN }}
token: ${{ secrets.CODECOV_TOKEN }}
file: ${{ steps.coverage.outputs.report }}
## flags: IntegrationTests, UnitTests, ${{ steps.vars.outputs.CODECOV_FLAGS }}
flags: ${{ steps.vars.outputs.CODECOV_FLAGS }}

View file

@ -399,6 +399,7 @@ jobs:
- name: Upload coverage results (to Codecov.io)
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ${{ steps.coverage.outputs.report }}
flags: gnutests
name: gnutests