Skip to content
Snippets Groups Projects
Commit 98e548ff authored by Hololens Test's avatar Hololens Test
Browse files

Test step-dependent nextflow configs.

parent 27dfa945
No related merge requests found
...@@ -47,13 +47,23 @@ astrocyte_check: ...@@ -47,13 +47,23 @@ astrocyte_check:
script: script:
- astrocyte_cli check "$CI_PROJECT_DIR" - astrocyte_cli check "$CI_PROJECT_DIR"
nextflow_test: nextflow_test_docker:
stage: test stage: test
script: script:
- module load nextflow/20.01.0 - module load nextflow/20.01.0
- module load singularity/3.5.3 - module load singularity/3.5.3
- cd $CI_PROJECT_DIR/workflow - cd $CI_PROJECT_DIR/workflow
- nextflow -C $CI_PROJECT_DIR/workflow/configs/biohpc.config run main.nf -with-trace -with-timeline -resume --verbose - nextflow -C $CI_PROJECT_DIR/workflow/configs/biohpc_docker.config run main.nf -with-trace -with-timeline -resume --verbose
nextflow_test_singularity:
stage: test
script:
- module load nextflow/20.01.0
- module load singularity/3.5.3
- cd $CI_PROJECT_DIR/workflow
- nextflow -C $CI_PROJECT_DIR/workflow/configs/biohpc_singularity.config run main.nf -with-trace -with-timeline -resume --verbose
# This runs the workflow with test data and does a simple # This runs the workflow with test data and does a simple
# check for the expected output file # check for the expected output file
...@@ -68,6 +78,7 @@ astrocyte_test: ...@@ -68,6 +78,7 @@ astrocyte_test:
docker_astrocyte_test: docker_astrocyte_test:
stage: test_docker stage: test_docker
script: script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- echo "Run astrocyte using dockerhub/docker.io registry pulls" - echo "Run astrocyte using dockerhub/docker.io registry pulls"
cache_docker_image: cache_docker_image:
......
docker {
enabled = true
}
process {
executor = 'local'
}
singularity {
enabled = true
runOptions = '--bind /vagrant:/vagrant'
cacheDir = "$baseDir/images/singularity"
}
process {
executor = 'local'
}
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