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



commit 31ce9e1f4dd6df71673523f2fb1622c5cae70c86
Author: Carlos Soriano <csoriano1618 gmail com>
Date:   Tue Oct 9 15:12:20 2018 +0000

    Update .gitlab-ci.yml

 .gitlab-ci.yml | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ce8374ad9..266bed71c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -53,10 +53,6 @@ stages:
             --exclude=../src/nautilus-self-check-functions.c
             --exclude=../subprojects/libgd/
             --exclude=../test/
-        # 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: '/^branches:.*\s+(\S+\%).*$/'
     artifacts:
         paths:
@@ -211,3 +207,15 @@ flatpak gtk4:
         - schedules
         - web
         - tags
+
+pages:
+  stage: deploy
+  script:
+    - mkdir public
+    - cd nautilus
+    - mv _build/coverage.html ${CI_PROJECT_DIR}/public/coverage
+  artifacts:
+    paths:
+      - public
+  only:
+    - master


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