From b842a3bb4548ed57aaaa93e107d2b04d7a3e3acd Mon Sep 17 00:00:00 2001
From: lb584 <lb584@cam.ac.uk>
Date: Fri, 28 Oct 2022 15:55:34 +0100
Subject: [PATCH] adding coverage

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4d5e189..ef52ceb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -54,10 +54,12 @@ before_script:
 
 test:
   script:
-    - python3 -m unittest -m coverage html test_deposition.py
+    - python3 -m coverage run -m unittest test_deposition.py
 #    - python3 -m unittest test_env_suit.py
 #    - python3 -m unittest test_survey.py
 #    - python3 -m unittest test_advisory.py
+    - python coverage report
+    - python coverage html
   artifacts:
     paths:
       - coverage
-- 
GitLab