diff --git a/.github/workflows/codecov.yaml b/.github/workflows/codecov.yaml index f4e38458..32b05a2c 100644 --- a/.github/workflows/codecov.yaml +++ b/.github/workflows/codecov.yaml @@ -41,9 +41,12 @@ jobs: - name: Upload coverage to Codecov run: | - R -e 'library(covr); covr::codecov()' + echo "CODECOV_TOKEN: $CODECOV_TOKEN" + R -e 'library(covr); covr::codecov(token = Sys.getenv("CODECOV_TOKEN"))' env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} # Make sure you have added this secret to your repository + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + + - name: Cleanup run: |