From 1ae320167ac7a26f676b1853f61f20e15744de00 Mon Sep 17 00:00:00 2001
From: asetGem <amandine.perrin@pasteur.fr>
Date: Fri, 30 Jul 2021 12:22:02 +0200
Subject: [PATCH] coverage html: ignore errors reading source files

---
 .gitlab-ci.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f8283e9d..06904239 100755
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -136,10 +136,9 @@ coverage:
     - pip3 install -r requirements-dev.txt
   script:
     - ls -la
-    - rm .coverage
     - coverage combine .coverage-unit .coverage-functional
+    - coverage html -i
     - coverage report
-    - coverage html
     # test coverage parsing: \d+\%\s*$
     # or pytest-cov (Python): ^TOTAL.+?(\d+\%)$
   artifacts:
-- 
GitLab