Commit 8fdbce02 authored by Dorchies David's avatar Dorchies David
Browse files

ci: redefine check "as cran" and "not cran"

Refs #86
parent 7fda30e5
Pipeline #22078 passed with stages
in 8 minutes and 27 seconds
......@@ -37,19 +37,17 @@ default:
stage: tests
- R -e 'devtools::check(check_dir = Sys.getenv("CHECK_DIR"), cran = !as.logical(Sys.getenv("AS_CRAN")))'
- R -e 'devtools::check(check_dir = Sys.getenv("CHECK_DIR"), cran = !as.logical(Sys.getenv("NOT_CRAN")), env_vars = c(NOT_CRAN = Sys.getenv("NOT_CRAN")))'
- R -e 'if (length(devtools::check_failures(path = Sys.getenv("BUILD_LOGS_DIR"), note = FALSE)) > 0) stop()'
NOT_CRAN: "true"
AS_CRAN: "false"
extends: .check
NOT_CRAN: "false"
AS_CRAN: "true"
extends: .check
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