Skip to content

Commit

Permalink
report coverage in CI log
Browse files Browse the repository at this point in the history
  • Loading branch information
katosh committed Jun 1, 2024
1 parent 1269007 commit 9649a06
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ jobs:

- name: Test coverage
run: |
covr::codecov()
library(covr)
coverage <- package_coverage()
print(coverage)
report(coverage)
covr::codecov(token = Sys.getenv("CODECOV_TOKEN"))
shell: Rscript {0}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 9649a06

Please sign in to comment.