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
Showing with 6 additions and 7 deletions
+6 -7
...@@ -33,17 +33,16 @@ default: ...@@ -33,17 +33,16 @@ default:
.regression: .regression:
stage: regression stage: regression
only: # only:
refs: # refs:
- schedules # - schedules
variables:
NOT_CRAN: "true"
script: script:
- Rscript -e 'source("tests/testthat/store_examples.R"); StoreRefExampleResults("airGR");' - Rscript -e 'source("tests/testthat/store_examples.R"); StoreRefExampleResults("airGR");'
- R CMD INSTALL . - R CMD INSTALL .
- Rscript -e 'source("tests/testthat/store_examples.R"); StoreTestExampleResults("airGR");' - Rscript -e 'source("tests/testthat/store_examples.R"); StoreTestExampleResults("airGR");'
artifacts: - 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)};'
paths:
- tests/tmp/
expire_in: 1 week
.check_not_cran: .check_not_cran:
stage: tests stage: tests
......
Supports Markdown
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