diff --git a/.gitignore b/.gitignore
index deffb08774dcddeb2b3c583c9d86a06d827f46a8..f762f037eb04354e210d976c05a66e3d4a55453e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 dist-newstyle/*
 .stack-work
+test/test-output
\ No newline at end of file
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c52508fed910e244e9a1525bbf3d73f5dae63faf..38267e7e08480bc29c53869459f0f8694b435327 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -32,6 +32,10 @@ run-test:
     when: always
     paths:
       - 'test/test-output'
+    cache:
+      key: '$CI_JOB_NAME-$CI_COMMIT_REF_SLUG'
+      paths:
+        - dist
 
 trigger-mapservice-pipeline:
   only: