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



commit 94f61e0f244e87aa7f1640e188c61de9afebd854
Author: Carlos Soriano <csoriano1618 gmail com>
Date:   Tue Oct 9 14:33:14 2018 +0000

    Update .gitlab-ci.yml

 .gitlab-ci.yml | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index eadfe5995..20d3894e5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -34,6 +34,8 @@ stages:
                   dbus-run-session meson test -C _build
         # Generate a Flatpak bundle
         - flatpak build-bundle repo ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${DBUS_ID}
+        # Generate coverage report
+        - cd _build
         - flatpak build app gcovr
             --root=.
             --exclude=src/
@@ -48,6 +50,8 @@ stages:
             --exclude=../src/nautilus-self-check-functions.c
             --exclude=../subprojects/libgd/
             --exclude=../test/
+            > coverage.html
+        - mv coverage.html 
     coverage: '/^TOTAL.*\s+(\d+\%)$/'
     artifacts:
         paths:


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