From dc3d85f93d50f0c8f01d7f5b58d414ef0b3fe566 Mon Sep 17 00:00:00 2001
From: Your Name <stephan.seitz@fau.de>
Date: Tue, 3 Sep 2019 10:11:47 +0200
Subject: [PATCH] CI: Add test-report to artifacts

---
 .gitlab-ci.yml | 16 +++++++++++++---
 setup.cfg      |  2 +-
 2 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ad92a1f..8134aab 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,5 @@
 # Minimal tests in windows environment
-minimal-windows:
+windows:
   stage: test
   except:
     variables:
@@ -14,8 +14,11 @@ minimal-windows:
     - python -c "import numpy"
     - python -m pip install -e .
     - python setup.py test
+  artifacts:
+    paths:
+      - test-report
 
-minimal-ubuntu:
+ubuntu:
   stage: test
   except:
     variables:
@@ -26,8 +29,12 @@ minimal-ubuntu:
     - python3 setup.py test
   tags:
     - docker
+    - cuda
+  artifacts:
+    paths:
+      - test-report
 
-minimal-conda:
+conda:
   stage: test
   except:
     variables:
@@ -39,6 +46,9 @@ minimal-conda:
     - python setup.py test
   tags:
     - docker
+  artifacts:
+    paths:
+      - test-report
 
 
 # -------------------- Linter & Documentation --------------------------------------------------------------------------
diff --git a/setup.cfg b/setup.cfg
index 20b6359..deccca9 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -81,7 +81,7 @@ extras = True
 # e.g. --cov-report html (or xml) for html/xml output or --junitxml junit.xml
 # in order to write a coverage file that can be read by Jenkins.
 addopts =
-    --cov pystencils_autodiff --cov-report term-missing --html test-report/index.html
+    --cov pystencils_autodiff --cov-report html --html test-report/index.html
     --verbose
 norecursedirs =
     dist
-- 
GitLab