Commit 2edb0791 authored by Tom Reynkens's avatar Tom Reynkens

New gitlab function of covr package

parent 237aad6e
variables:
CODECOV_TOKEN: "CODECOV_TOKEN_STRING"
_R_CHECK_CRAN_INCOMING_: "false"
_R_CHECK_FORCE_SUGGESTS_: "true"
APT_PKGS: "libxml2-dev libcurl4-openssl-dev libssl-dev zlib1g-dev git qpdf"
......@@ -15,7 +16,10 @@ r-release:
- R CMD build . --no-manual
- R CMD check --as-cran --no-manual *tar.gz
- R -e 'install.packages("covr")'
- R -e 'covr::codecov(type = "tests", quiet = FALSE, line_exclusions = list("R/smurf.R"))'
- R -e 'covr::gitlab(type = "tests", line_exclusions = list("R/Smurf.R"), coverage = NULL, file = "public/coverage.html", quiet = TRUE)'
artifacts:
paths:
- public
r-devel:
stage: test
......
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