diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cd255bdb33ce9b6d8611a2d9a15494f7d7018c9f..a18a9bd7ce9c701fe9c0e78311bcf647bdbf5a76 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,10 +21,11 @@ exitcode-jessie:
     - pip install -r requirements.txt
     - pip install coverage
     - pip install coverage-badge
-    - coverage run test/prior_tests.py
-    - coverage run test/tests.py
-    - coverage run test/waveform_generator_tests.py
-    - coverage run test/noise_realisation_tests.py
+    - coverage erase
+    - coverage run -a test/prior_tests.py
+    - coverage run -a test/tests.py
+    - coverage run -a test/waveform_generator_tests.py
+    - coverage run -a test/noise_realisation_tests.py
     - coverage html --include=peyote/*
     - coverage-badge -o coverage.svg
   artifacts: