From 5f55c7508f913d539f57f2a39d8d2112bb4d8035 Mon Sep 17 00:00:00 2001
From: Tamas Gal <tgal@km3net.de>
Date: Wed, 26 Feb 2020 19:34:22 +0100
Subject: [PATCH] Download Jpp PDFs for testing

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0d39f9e..bea5e3f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -55,16 +55,26 @@ test-jpp-12.1.0:
     stage: build
     script:
         - *virtualenv_definition
+        - mkdir -p pdfs
+        - JMakePDF.sh -W pdfs/ -w http://pi1139.physik.uni-erlangen.de/data/latest/ -C
         - pip install -U pytest
         - pytest
+    cache:
+        paths:
+            - pdfs/
 
 test-jpp-latest:
     image: docker.km3net.de/jpp:latest
     stage: build
     script:
         - *virtualenv_definition
+        - mkdir -p pdfs
+        - JMakePDF.sh -W pdfs/ -w http://pi1139.physik.uni-erlangen.de/data/latest/ -C
         - pip install -U pytest
         - pytest
+    cache:
+        paths:
+            - pdfs/
 
 pypi:
     image: docker.km3net.de/base/python:3
-- 
GitLab