[glib/wip/pwithnall/coverage-link] ci: Add link to Coverage output at end of coverage job




commit c540c6a80e14ae609ae74497cbd0bd67fd214485
Author: Philip Withnall <pwithnall endlessos org>
Date:   Tue Feb 1 11:08:22 2022 +0000

    ci: Add link to Coverage output at end of coverage job
    
    This should make it a bit easier to find the coverage report, rather
    than digging through the job artifacts.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 .gitlab-ci/coverage-docker.sh | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/.gitlab-ci/coverage-docker.sh b/.gitlab-ci/coverage-docker.sh
index bf795619a..a80b3beeb 100755
--- a/.gitlab-ci/coverage-docker.sh
+++ b/.gitlab-ci/coverage-docker.sh
@@ -30,3 +30,6 @@ cat >index.html <<EOL
 </body>
 </html>
 EOL
+
+# Print a handy link to the coverage report
+echo "Coverage report at: 
https://${CI_PROJECT_NAMESPACE}.pages.gitlab.gnome.org/-/${CI_PROJECT_NAME}/-/jobs/${CI_BUILD_ID}/artifacts/_coverage/coverage/index.html";


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