-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add run_examples job with run_dontrun=TRUE
Refs #163
- Loading branch information
David
committed
Aug 1, 2024
1 parent
277010d
commit 1349a17
Showing
1 changed file
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,11 @@ test_all: | |
script: | ||
- R -q -e 'options(error = function() quit(save = "no", status = 1)); testthat::test_local(stop_on_failure = TRUE, stop_on_warning = TRUE)' | ||
|
||
run_examples: | ||
stage: checks | ||
script: | ||
- R -q -e 'options(error = function() quit(save = "no", status = 1)); devtools::run_examples(run_donttest = TRUE, run_dontrun = TRUE)' | ||
|
||
check: | ||
stage: checks | ||
except: | ||
|
@@ -42,10 +47,6 @@ check: | |
refs: | ||
- schedules | ||
before_script: | ||
## | ||
## Optionally, if you will be using any Git commands, set the user name and | ||
## and email. | ||
## | ||
- git config --global user.email "[email protected]" | ||
- git config --global user.name "Gitlab CI" | ||
- git remote add github ${GITHUB_CLONE} || git remote set-url github ${GITHUB_CLONE} | ||
|