From 5ada931ede89d3401d4e434fb65bc53fff06535e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Tue, 20 Feb 2024 01:40:05 +0100 Subject: [PATCH] ci: Export coverage to pages So that we can link it outside --- .gitlab-ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 71f55825..3d36552a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,6 +35,7 @@ stages: - build - test - flatpak + - deploy image: $FEDORA_IMAGE @@ -256,3 +257,18 @@ container_fedora_build_on_deps_changed: - merge_requests changes: - .gitlab-ci/libfprint-image-variables.yaml + +pages: + image: alpine:latest + stage: deploy + needs: + - job: test + artifacts: true + script: + - mkdir public + - mv _build/meson-logs/coveragereport public/coverage + artifacts: + paths: + - public + rules: + - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH