From 219567d46d45385815895e7cb17474e2fc5ffa9b Mon Sep 17 00:00:00 2001
From: Redmar van den Berg <RedmarvandenBerg@lumc.nl>
Date: Fri, 15 May 2020 07:42:49 +0200
Subject: [PATCH] Keep workflow dir on failure

---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 10799da..008fc13 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,7 +12,7 @@ stages:
 test-sanity:
   <<: *before_script_anchor
   script:
-    - pytest --tag sanity
+    - pytest --keep-workflow-wd-on-fail --tag sanity
   image: lumc/singularity-snakemake:3.5.2-5.15.0
   tags:
     - docker
@@ -21,7 +21,7 @@ test-sanity:
 test-dry-run:
   <<: *before_script_anchor
   script:
-    - pytest --tag dry-run
+    - pytest --keep-workflow-wd-on-fail --tag dry-run
   image: lumc/singularity-snakemake:3.5.2-5.15.0
   tags:
     - docker
-- 
GitLab