Skip to content

Commit

Permalink
ci: add run_examples job with run_dontrun=TRUE
Browse files Browse the repository at this point in the history
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.
9 changes: 5 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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}
Expand Down

0 comments on commit 1349a17

Please sign in to comment.