diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..10799da8b8049314a3d6c863cc97751fd0c63900 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,28 @@ +variables: + GIT_SUBMODULE_STRATEGY: recursive + +.before_script_anchor: &before_script_anchor + before_script: + - pip3 install pytest-workflow + +stages: + - sanity + - dry-run + +test-sanity: + <<: *before_script_anchor + script: + - pytest --tag sanity + image: lumc/singularity-snakemake:3.5.2-5.15.0 + tags: + - docker + stage: sanity + +test-dry-run: + <<: *before_script_anchor + script: + - pytest --tag dry-run + image: lumc/singularity-snakemake:3.5.2-5.15.0 + tags: + - docker + stage: dry-run