Commit 984fde40 authored by David Trudgian's avatar David Trudgian

Basic CI

parent 5e81b47b
Pipeline #2924 canceled with stage
# Run our tests against a specific version of astrocyte
before_script:
- module load astrocyte/0.1.0
# This performs validation of the astrocyte_pkg.yml file
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:
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:
script:
- astrocyte_cli shiny-prepare "$CI_PROJECT_DIR"
- 'timeout 10 astrocyte_cli shiny "$CI_PROJECT_DIR" &'
- 'SHINY_PID=$!'
- sleep 5
- unset http_proxy
- unset all_proxy
- wget "http://127.0.0.1:8123"
# Example Wordcount Package
[![Build
Status](https://git.biohpc.swmed.edu/BioHPC/astrocyte_example_wordcount/badges/master/build.svg)](https://git.biohpc.swmed.edu/BioHPC/astrocyte_example_wordcount/commits/master)
[![Astrocyte](https://img.shields.io/badge/astrocyte-%E2%89%A50.1.0-blue.svg)](https://astrocyte-test.biohpc.swmed.edu/static/docs/index.html)
This is an example workflow package for astrocyte. It contains a worfklow
to count the occurences of each word in a text file.
......
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