[libshumate] ci: Show coverage in merge request diff
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libshumate] ci: Show coverage in merge request diff
- Date: Fri, 12 Aug 2022 19:02:50 +0000 (UTC)
commit 50a7af3de7c768d67541174bbd88cf347149ccfb
Author: James Westman <james jwestman net>
Date: Thu Aug 11 17:19:38 2022 -0500
ci: Show coverage in merge request diff
.gitlab-ci.yml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4d8d5f4..93a5723 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,7 +6,7 @@ fedora:
stage: build
image: registry.gitlab.gnome.org/gnome/gtk/fedora:v38
script:
- - sudo dnf install -y vala sqlite-devel libsoup-devel gtk4-devel protobuf-c-devel
+ - sudo dnf install -y vala sqlite-devel libsoup-devel gtk4-devel protobuf-c-devel gcovr
- meson _build -Db_coverage=true -Dgtk_doc=true
- xvfb-run ninja -C _build test
- ninja -C _build coverage
@@ -17,6 +17,11 @@ fedora:
paths:
- docs
- coverage
+ reports:
+ coverage_report:
+ coverage_format: cobertura
+ path: _build/meson-logs/coverage.xml
+
pages:
stage: pages
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]