Verified Commit bc30a3fc authored by Cody L Marquart's avatar Cody L Marquart
Browse files

Print coverage result for badge

[skip check][skip rhub][skip winbuilder]
parent 21d128da
Pipeline #49598 failed with stages
in 3 minutes and 20 seconds
......@@ -155,6 +155,7 @@ test:r-release:
#- 'Rscript -e "rep <- covr::report( x = cov, file = \"inst/coverage/${CI_COMMIT_REF_NAME}/index.html\" )"'
- |
Rscript -e "cov <- covr::package_coverage(quiet = F);
print(cov);
rep <- covr::report( x = cov, file = \"inst/coverage/${CI_COMMIT_REF_NAME}/index.html\", browse = FALSE );"
- 'Rscript -e "setwd(\"inst/coverage/${CI_COMMIT_REF_NAME}\"); res = lapply(dir(\".\", full.names = F, recursive = T), function(f) { aws.s3::put_object(file = f, object = paste0(\"coverage/${CI_COMMIT_REF_NAME}/\", f), bucket = \"${PKGL}.qe-libs.org\", acl = \"public-read\") })"'
- 'Rscript --vanilla demo/backup/coverage-report.R ${CI_COMMIT_REF_NAME}'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment