From 4c33cdd0881973a88080c1b6600b3bac31f67530 Mon Sep 17 00:00:00 2001 From: afwillia Date: Fri, 19 Jul 2024 09:20:04 -0700 Subject: [PATCH] codecov is free for open source repos. Try it --- .github/workflows/test-coverage.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index a58891f5..07ebf33d 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -39,7 +39,13 @@ jobs: covr::to_cobertura(cov) shell: Rscript {0} - - uses: coverallsapp/github-action@v2 + - uses: codecov/codecov-action@v4 + with: + fail_ci_if_error: ${{ github.event_name != 'pull_request' && true || false }} + file: ./cobertura.xml + plugin: noop + disable_search: true + token: ${{ secrets.CODECOV_TOKEN }} - name: Show testthat output if: always()