From 7459fc8b5ad92af6124e17f52434452826f41962 Mon Sep 17 00:00:00 2001
From: Bryan Brancotte <bryan.brancotte@pasteur.fr>
Date: Tue, 15 Feb 2022 15:22:47 +0100
Subject: [PATCH] export coverage

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f1e23e8..4e72c04 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -26,3 +26,8 @@ test:
     - pip install -r requirements.txt -r requirements-test.txt
     - coverage run --source='.' runtests.py
     - coverage report --skip-covered --omit=*/wsgi.py,*/asgi.py,manage.py,*/apps.py,setup.py
+    - coverage html -d htmlcov --omit=*/wsgi.py,*/asgi.py,manage.py,*/apps.py,setup.py
+  artifacts:
+    paths:
+      - htmlcov
+    expire_in: 1 week
-- 
GitLab