From ff45c5344aa0a89699df294a997eeb6a33414afe Mon Sep 17 00:00:00 2001 From: al-obrien Date: Tue, 31 Oct 2023 17:07:23 -0600 Subject: [PATCH] Attempt to fix codecov unknown badge Following codecov advice, even though its supposed to work without tokens for public repos --- .github/workflows/test-coverage.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index 27d4528..b88501f 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -42,6 +42,11 @@ jobs: find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true shell: bash + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + - name: Upload test results if: failure() uses: actions/upload-artifact@v3