Commit f9afbe6d authored by Pradat Yoann's avatar Pradat Yoann

add custom docker image for CI

parent 6b6fe5b7
image: rocker/r-base
stages:
- dependencies
- build
......@@ -34,6 +32,7 @@ before_script:
install_dependencies:
stage: dependencies
image: gitlab-research.centralesupelec.fr:4567/2019pradaty/rcached
script:
- Rscript -e 'if (!requireNamespace("renv", quietly = TRUE)) install.packages("renv")'
- Rscript -e 'renv::restore()'
......@@ -41,30 +40,36 @@ install_dependencies:
buildbinary:
stage: build
image: gitlab-research.centralesupelec.fr:4567/2019pradaty/rcached
script:
- R -e 'devtools::build(binary=T)'
documentation:
stage: document
image: gitlab-research.centralesupelec.fr:4567/2019pradaty/rcached
script:
- R -e 'devtools::document()'
checkerrors:
stage: check
image: gitlab-research.centralesupelec.fr:4567/2019pradaty/rcached
script:
- R -e 'if (!identical(devtools::check(document = FALSE, args = "--no-tests")[["errors"]], character(0))) stop("Check with Errors")'
unittests:
stage: test
image: gitlab-research.centralesupelec.fr:4567/2019pradaty/rcached
script:
- R -e 'if (any(as.data.frame(devtools::test())[["failed"]] > 0)) stop("Some tests failed.")'
codecov:
stage: test
image: gitlab-research.centralesupelec.fr:4567/2019pradaty/rcached
script:
- R -e 'covr::codecov()'
install:
stage: install
image: gitlab-research.centralesupelec.fr:4567/2019pradaty/rcached
script:
- R -e 'devtools::install()'
# tableExtra
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![codecov](https://codecov.io/gh/Durzot/tableExtra/branch/master/graph/badge.svg?token=5MVDZ2NHEI)](https://codecov.io/gh/Durzot/tableExtra)
The goal of tableExtra is to reproduce the figure 3 of the paper PCAWG Mutational Signatures Working Group et al. **The
repertoire of mutational signatures in human cancer**. *Nature* 2020.
......
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