From 44964e79cfbba89046349af1cf61d9360894aaf6 Mon Sep 17 00:00:00 2001 From: lb584 <lb584@cam.ac.uk> Date: Fri, 28 Oct 2022 17:10:41 +0100 Subject: [PATCH] adding coverage --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 76ece08..805bceb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -55,6 +55,8 @@ test: script: - cd $CI_PROJECT_DIR/tests/unit/coordinator/ - python3 -m coverage run -m unittest example_test.py + - python -m coverage report + - python -m coverage html -d $CI_PROJECT_DIR/coverage - cd $CI_PROJECT_DIR/tests/integration # - python3 -m coverage run -m unittest test_deposition.py # - python3 -m unittest test_deposition.py -- GitLab