From 2cdb8511b7b0034903a7cadd003e8bc1aca11daa Mon Sep 17 00:00:00 2001
From: Redmar van den Berg <RedmarvandenBerg@lumc.nl>
Date: Fri, 15 May 2020 09:09:16 +0200
Subject: [PATCH] Add integration test

---
 .gitlab-ci.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2a702d4..de186e4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,6 +16,7 @@ variables:
 stages:
   - sanity
   - dry-run
+  - integration
 
 test-sanity:
   <<: *before_script_anchor
@@ -34,3 +35,12 @@ test-dry-run:
   tags:
     - docker
   stage: dry-run
+
+test-integration:
+  <<: *slurm_before_script_anchor
+  script:
+    - pytest --keep-workflow-wd-on-fail --basetemp ${BASETEMP} --tag integration
+  image: lumc/singularity-snakemake:3.5.2-5.15.0
+  tags:
+    - slurm
+  stage: integration
-- 
GitLab