From d94f10ea957a46f26a07813ec65d689c331fad2d Mon Sep 17 00:00:00 2001 From: "Adam J. Jackson" Date: Mon, 6 Jan 2025 09:59:41 +0000 Subject: [PATCH] Update codecov configuration 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. --- .github/workflows/test_checkout_one_os.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_checkout_one_os.yml b/.github/workflows/test_checkout_one_os.yml index 3b576cc4e..43e2b216a 100644 --- a/.github/workflows/test_checkout_one_os.yml +++ b/.github/workflows/test_checkout_one_os.yml @@ -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