Browse Source

update ci config

Olivier Massot 2 years ago
parent
commit
52ad6e4160
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .gitlab-ci.yml

+ 3 - 0
.gitlab-ci.yml

@@ -28,3 +28,6 @@ unit:
       coverage_report:
         coverage_format: cobertura
         path: coverage/cobertura-coverage.xml
+
+    # Extract total coverage from job logs (https://docs.gitlab.com/15.6/ee/ci/yaml/index.html#coverage)
+    coverage: '/All files\s*|\s*\d+\.\d+/'