diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4b1828ba0745a86928138167e60cd1cbb30f4681..30f77f2baf8cea0d93eef3dd62febb0673bb5cfe 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,17 +33,16 @@ default: .regression: stage: regression - only: - refs: - - schedules +# only: +# refs: +# - schedules + variables: + NOT_CRAN: "true" script: - Rscript -e 'source("tests/testthat/store_examples.R"); StoreRefExampleResults("airGR");' - R CMD INSTALL . - Rscript -e 'source("tests/testthat/store_examples.R"); StoreTestExampleResults("airGR");' - artifacts: - paths: - - tests/tmp/ - expire_in: 1 week + - Rscript -e 'res <- testthat::test_file("tests/testthat/test-regression.R"); dRes = as.data.frame(res); if(any(dRes[,"failed"]>0) | any(dRes[,"error"])) {quit(status = 1)};' .check_not_cran: stage: tests