[tracker/wip/carlosg/ci-coverage-in-mr: 1/2] ci: Give a name to coverage exposed artifact




commit 4a00fe866cfdd7321a0302b91be70fd3c20533e7
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Oct 17 18:05:24 2022 +0200

    ci: Give a name to coverage exposed artifact
    
    So it can be accessed right away in merge request pages.

 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 347b26d02..d0ad47432 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -401,9 +401,11 @@ coverage:
         --html-details --print-summary --output coveragereport/index.html
   coverage: '/^lines: (\d+\.\d+\%)/'
   artifacts:
+    expose_as: 'Coverage'
     when: always
     paths:
     - coveragereport
+    - coveragereport/index.html
   needs:
     - test-fedora@x86_64
     - test-fedora-rawhide@x86_64


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