[nautilus/csoriano-generate-coverage-patch-22550] Update .gitlab-ci.yml



commit c14438861f715c0832bff0932a0bb9dcdfb1d480
Author: Carlos Soriano <csoriano1618 gmail com>
Date:   Tue Oct 9 15:02:58 2018 +0000

    Update .gitlab-ci.yml

 .gitlab-ci.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 365318d1a..ce8374ad9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -38,6 +38,8 @@ stages:
         - cd _build
         - flatpak build ../app gcovr
             --html-details
+            -o coverage.html
+            --print-summary
             --root=.
             --exclude=src/
             --exclude=../data/
@@ -51,12 +53,11 @@ stages:
             --exclude=../src/nautilus-self-check-functions.c
             --exclude=../subprojects/libgd/
             --exclude=../test/
-            > coverage.html
         # Gitlab coverage badge parses the job log and searches for a string,
         # so display the output that was generated so GitLab can use it for
         # the badge.
         - cat coverage.html
-    coverage: '/^TOTAL.*\s+(\d+\%)$/'
+    coverage: '/^branches:.*\s+(\S+\%).*$/'
     artifacts:
         paths:
             - ${BUNDLE}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]