From 8bd5fdccf8d07cef9ea9d2be0e410d33b7466134 Mon Sep 17 00:00:00 2001
From: Tamas Gal <tgal@km3net.de>
Date: Wed, 26 Feb 2020 19:11:14 +0100
Subject: [PATCH] Run tests on CI

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 52ee412..0d39f9e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,6 +15,7 @@ cache:
 
 stages:
     - build
+    - test
     - release
 
 
@@ -49,6 +50,22 @@ build-jpp-latest:
     script:
         - *virtualenv_definition
 
+test-jpp-12.1.0:
+    image: docker.km3net.de/jpp:v12-1-0
+    stage: build
+    script:
+        - *virtualenv_definition
+        - pip install -U pytest
+        - pytest
+
+test-jpp-latest:
+    image: docker.km3net.de/jpp:latest
+    stage: build
+    script:
+        - *virtualenv_definition
+        - pip install -U pytest
+        - pytest
+
 pypi:
     image: docker.km3net.de/base/python:3
     stage: release
-- 
GitLab