Skip to content
Snippets Groups Projects
Commit 5b05ac28 authored by David Trudgian's avatar David Trudgian
Browse files

CI stages

parent 984fde40
Branches
Tags
1 merge request!1Add Basic CI
Pipeline #2925 passed with stages
in 46 seconds
......@@ -2,21 +2,29 @@
before_script:
- module load astrocyte/0.1.0
stages:
- check
- test
# This performs validation of the astrocyte_pkg.yml file
check:
astrocyte_check:
stage: check
script:
- astrocyte_cli check "$CI_PROJECT_DIR"
# This runs the workflow with test data and does a simple
# check for the expected output file
test:
astrocyte_test:
stage: test
script:
- astrocyte_cli test "$CI_PROJECT_DIR"
- test -s "$CI_PROJECT_DIR/workflow/output/mobydick.txt.uppercase.tolines.wordcount"
# This verifies we can install the shiny vizapp dependencies
# and start the vizapp running.
shiny:
astrocyte_shiny:
stage: test
script:
- astrocyte_cli shiny-prepare "$CI_PROJECT_DIR"
- 'timeout 10 astrocyte_cli shiny "$CI_PROJECT_DIR" &'
......
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