Commit c639cd6d authored by Dorchies David's avatar Dorchies David
Browse files

fic(ci): wrong version tested on benchmark test

- Installation of CRAN version was missing

Refs #136
parent 4ff3fce8
Pipeline #28791 passed with stages
in 38 minutes and 36 seconds
......@@ -27,7 +27,6 @@ default:
stage: check
script:
- R -e 'rcmdcheck::rcmdcheck(args = ifelse(as.logical(Sys.getenv("NOT_CRAN")), "", "--as-cran"), error_on = "warning")'
- R -e 'install.packages(c("microbenchmark", "airGR"), repos = "http://cran.r-project.org")'
.check_not_cran:
variables:
......@@ -45,6 +44,8 @@ benchmark_patched:
R_VERSION: "patched"
allow_failure: true
script:
- R -e 'remotes::update_packages("microbenchmark", repos = "http://cran.r-project.org")'
- R -e 'install.packages("airGR", repos = "http://cran.r-project.org")'
- Rscript tests/scheduled_tests/benchmarkRunModel.R
- R CMD INSTALL .
- Rscript tests/scheduled_tests/benchmarkRunModel.R
......
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