Commit 5951250e authored by Dorchies David's avatar Dorchies David
Browse files

ci: debugging regression tests

- Directly run regression tests in regression stage instead of check_not_cran stage

Refs #69
parent dffc8b9d
Pipeline #17742 passed with stages
in 13 minutes and 50 seconds
......@@ -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
......
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