diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8922a2d3efb6f559ce6f6b86ecd9885eedb1505b..bc5f5b4f0e1b3a3e4ded9d00a2823b015eaca4dd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -48,8 +48,9 @@ tests:
   tags:
     - ssec_shared
   script:
-    - pip install -y pytest pytest-cov
+    - pip install pytest pytest-cov
     - pytest .
+  coverage: '/TOTAL.*\s+(\d+%)$/'
   needs:
     - job: build_hello_world
       artifacts: true