diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index 27b926fa..e2ede464 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -32,15 +32,18 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - extra-packages: any::covr + extra-packages: | + any::covr + any::devtools needs: coverage - name: Test coverage run: | covr::codecov( + coverage = devtools::test_coverage(show_report = FALSE), quiet = FALSE, clean = FALSE, - install_path = file.path(Sys.getenv("RUNNER_TEMP"), "package") + install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package") ) shell: Rscript {0}