Commit 71aa71e3 authored by phit0's avatar phit0
Browse files

[ci] check if package can be loaded in second stage

parent bf2f0ca8
Pipeline #7434 failed with stages
in 2 minutes and 39 seconds
......@@ -31,18 +31,15 @@ test:
- "$R_LIBS_USER"
- "$RETICULATE_MINICONDA_PATH"
- "$RETICULATE_PYTHON_ENV"
# script will only run then attempting to merge/push to master
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: always
- if: '$CI_PIPELINE_SOURCE == "api"'
when: manual
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" || $CI_PIPELINE_SOURCE == "web"'
benchmark-test:
stage: benchmark-test
rules:
- if: '$CI_PIPELINE_SOURCE == "api"'
- if: '$CI_PIPELINE_SOURCE == "web"'
when: on_success
script:
- echo Hello World
- echo Hello second manual stage
- R -e 'devtools::load_all()'
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