From a9f5463e492621745870d10bfede8d120863d5e3 Mon Sep 17 00:00:00 2001
From: Anton Akhmerov <anton.akhmerov@gmail.com>
Date: Wed, 22 Aug 2018 20:30:58 +0200
Subject: [PATCH] ci: generate junit report from tests

---
 .gitlab-ci.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c3eb46d5..ed4ed7f8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -61,10 +61,12 @@ build PDF documentation:
 run tests:
   stage: test
   script:
-    - py.test -r w --cov=kwant --cov-report term --cov-report html --flakes kwant
+    - py.test -r w --cov=kwant --cov-report term --cov-report html --flakes kwant --junitxml=tests.xml
   artifacts:
     paths:
       - htmlcov
+    reports:
+      junit: tests.xml
 
 
 check for broken links in doc:
-- 
GitLab