Skip to content
Snippets Groups Projects
Commit c663a57f authored by Arnaud Duvermy's avatar Arnaud Duvermy
Browse files

retry CI coverage

parent 901796e2
Branches
Tags
No related merge requests found
......@@ -35,11 +35,8 @@ unit_test_coverage:
script:
- Rscript -e 'install.packages("covr")'
- Rscript -e 'install.packages("DT")'
- Rscript -e "cov <- covr::package_coverage(quiet = TRUE); covr::to_cobertura(cov, file='coverage.xml')"
# badge creation
- Rscript -e "badgecretr::badge_coverage_file('badge.svg', './coverage.xml', successful_coverage=90)"
- Rscript -e 'covr::gitlab(quiet = FALSE)'
coverage: '/HTRfit Coverage: \d+(?:\.d+)?/' # regex to extract coverage percentage
artifacts:
paths:
- coverage.xml
- badge.svg
coverage: '/^.*?(?P<coverage>\d+(?:\.\d+)?).*$/' # regex to extract coverage percentage
\ No newline at end of file
- public/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment