We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f34df88 commit 7828113Copy full SHA for 7828113
.github/workflows/test-coverage.yaml
@@ -28,9 +28,14 @@ jobs:
28
needs: coverage
29
30
- name: Run tests and generate coverage
31
- run: |
32
- Rscript -e 'cov <- covr::package_coverage()'
33
- Rscript -e 'covr::codecov(coverage = cov)'
+ cov <- covr::package_coverage(
+ quiet = FALSE,
+ clean = FALSE,
34
+ install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package")
35
+ )
36
+ print(cov)
37
+ covr::to_cobertura(cov)
38
+ shell: Rscript {0}
39
40
# Optional: Upload coverage artifact for GitHub inspection
41
- name: Save coverage artifacts
0 commit comments