From 9649a065a9193570f80900f5d26cc07370262085 Mon Sep 17 00:00:00 2001 From: Dominik Date: Fri, 31 May 2024 22:55:48 -0700 Subject: [PATCH] report coverage in CI log --- .github/workflows/R-CMD-check.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index e4fd8f3..eb37ce5 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -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 }}