Skip to content

Commit

Permalink
Update codecov configuration
Browse files Browse the repository at this point in the history
We are hitting some rate-limiting, v4 with token should help with
that. It is also supposed to allow fork PRs to push coverage without a
token, although that is subject to rate-limiting.

The rate limit seems to be across all github projects using codecov,
which is why it fires off pretty frequently.
  • Loading branch information
ajjackson committed Jan 6, 2025
1 parent e17b972 commit d94f10e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test_checkout_one_os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ jobs:
project-token: ${{ secrets.codacy_project_token }}
coverage-reports: tests_and_analysis/test/reports/coverage*.xml

- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
if: inputs.coverage
with:
files: tests_and_analysis/test/reports/coverage*.xml
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true

0 comments on commit d94f10e

Please sign in to comment.