diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 082c3a975dd7e0a3ba29f8158c60756313ad9eca..b17c20297ab32024162dee46940b5bf65d41d310 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,7 @@ stages: - update_packages - build + - regression - tests default: @@ -30,6 +31,16 @@ default: untracked: true expire_in: 1 week +.regression: + stage: regression + only: + refs: + - schedules + script: + - Rscript -e 'source("tests/testthat/store_examples.R"); StoreRefExampleResults("airGR");' + - R CMD INSTALL . + - Rscript -e 'source("tests/testthat/store_examples.R"); StoreTestExampleResults("airGR");' + .check_not_cran: stage: tests variables: @@ -52,6 +63,21 @@ build_patched: R_VERSION: "patched" extends: .build +regression_patched: + variables: + R_VERSION: "patched" + extends: .regression + +regression_devel: + variables: + R_VERSION: "devel" + extends: .regression + +regression_oldrel: + variables: + R_VERSION: "oldrel" + extends: .regression + check_not_cran_patched: variables: R_VERSION: "patched" @@ -125,3 +151,4 @@ check_as_cran_oldrel: variables: R_VERSION: "oldrel" extends: .check_as_cran +