From 6b6a80ced62d59acee2671424ce82e732d9573bc Mon Sep 17 00:00:00 2001
From: Colm Talbot <colm.talbot@ligo.org>
Date: Mon, 27 Jun 2022 16:40:29 +0000
Subject: [PATCH] Fix coverage reports

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1233adeb2..12a355c32 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -136,11 +136,12 @@ python-3.9:
   after_script:
     - coverage html
     - coverage xml
+  coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
   artifacts:
     reports:
       coverage_report:
         coverage_format: cobertura
-        path: coverage/cobertura-coverage.xml
+        path: coverage.xml
     paths:
       - htmlcov/
     expire_in: 30 days
-- 
GitLab