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

Merge branch '83-bugfix_coverage_ci' into 'master'

Resolve "[bugfix] coverage computation in ci test pipeline"

Closes #83

See merge request !61
parents 49cf44ee fd6c1af1
No related branches found
No related tags found
1 merge request!61Resolve "[bugfix] coverage computation in ci test pipeline"
^renv$
^renv\.lock$
^.gitlab-ci.yml
^.*\.Rproj$
^\.Rproj\.user$
^\.Rprofile$
^cache$
^ci$
^config.yml
^data-raw$
......@@ -16,4 +15,6 @@
^Meta$
^packrat/
^public$
^renv$
^renv\.lock$
^tmp$
......@@ -13,17 +13,15 @@ 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/library"
RENV_PATHS_CACHE: "$CI_PROJECT_DIR/cache"
RENV_PATHS_LIBRARY: "$CI_PROJECT_DIR/renv/library"
before_script:
# Install deps or load from renv
- R -e "if (!requireNamespace('renv', quietly = TRUE)) install.packages('renv')"
#- R -e 'renv::restore()'
#- R -e 'renv::restore()' does fail while loading Bioconductor packages
- R -e 'renv::install()'
- 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
after_script:
......
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