Use the private Codecov token stored as a secret,

to work around rate-limiting issues like https://github.com/codecov/codecov-action/issues/557
This commit is contained in:
Olivier Tilloy
2024-04-16 18:37:59 +02:00
parent 1b311c6673
commit 7f7821f558
+1 -2
View File
@@ -143,9 +143,8 @@ jobs:
echo "report=${COVERAGE_REPORT_FILE}" >> $GITHUB_OUTPUT
- name: Upload coverage results (to Codecov.io)
uses: codecov/codecov-action@v3
# 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 }}