From b6ec5dae40828e338ce9642dc835cfc036570176 Mon Sep 17 00:00:00 2001 From: Redmar van den Berg <RedmarvandenBerg@lumc.nl> Date: Thu, 14 May 2020 16:54:49 +0200 Subject: [PATCH] Add gitlab-ci file --- .gitlab-ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..10799da --- /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 -- GitLab