Skip to content
Snippets Groups Projects
Commit b967b508 authored by Johannes Boog's avatar Johannes Boog
Browse files

[bugfix] ci coverage computation

parent 49cf44ee
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !61. Comments created here will be created in the context of that merge request.
......@@ -13,7 +13,8 @@ test:
variables:
RETICULATE_MINICONDA_PATH: "/root/.local/share/r-miniconda/"
RETICULATE_PYTHON_ENV: "/root/.local/share/r-miniconda/envs/r-reticulate/"
RENV_CONFIG_EXTERNAL_LIBRARIES: "/usr/local/lib/R/site-library:/usr/local/lib/R/library"
#RENV_CONFIG_EXTERNAL_LIBRARIES: "/usr/local/lib/R/site-library:/usr/local/lib/R/library"
RENV_CONFIG_EXTERNAL_LIBRARIES: "/usr/local/lib/R/library"
RENV_PATHS_CACHE: "$CI_PROJECT_DIR/cache"
RENV_PATHS_LIBRARY: "$CI_PROJECT_DIR/renv/library"
before_script:
......@@ -24,8 +25,8 @@ test:
- R -e 'renv::install("bioc::rhdf5")'
script:
# Build and Check r2ogs6
- R CMD build . --no-build-vignettes --no-manual
- R CMD check $(ls -1t *.tar.gz | head -n 1) --no-build-vignettes --no-manual
#- R CMD build . --no-build-vignettes --no-manual
#- R CMD check $(ls -1t *.tar.gz | head -n 1) --no-build-vignettes --no-manual
after_script:
- R -e 'covr::package_coverage(type = c("tests", "examples"), quiet = F)'
coverage: '/Coverage: \d+\.\d+\%/'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment