diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index eeb5b4369722ab3de38fedbc94f4f2b3dab4bb54..64b4cad231c681b2b5c4a8b9618682e529d0b152 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -27,7 +27,7 @@ test-sanity:
   stage: sanity
 
 test-dry-run:
-  <<: *slurm_before_script_anchor
+  <<: *before_script_anchor
   script:
     - pytest --keep-workflow-wd-on-fail --basetemp ${BASETEMP} --tag dry-run
   image: lumc/singularity-snakemake:3.5.2-5.15.0