[tracker/wip/carlosg/coverage] ci: Add coverage analysis
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/coverage] ci: Add coverage analysis
- Date: Tue, 7 Jul 2020 09:44:50 +0000 (UTC)
commit 233403d085e0f0c19679e39a2a08874daa7efc3d
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Jul 7 11:43:18 2020 +0200
ci: Add coverage analysis
.gitlab-ci.yml | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 960cf1743..a073de84f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -61,6 +61,15 @@ test-ubuntu-rolling:
image: registry.gitlab.gnome.org/gnome/tracker-oci-images/amd64/ubuntu:rolling
<<: *test
+coverage-analysis:
+ stage: analysis
+ image: registry.gitlab.gnome.org/gnome/tracker-oci-images/amd64/fedora:latest
+ allow_failure: true
+ script:
+ - dnf install -y gcovr
+ - su tracker -c 'cd build; gcovr --root=.. --exclude=../tests --exclude=../utils --exclude=../examples'
+ coverage: '/^TOTAL.*\s+(\d+\%)$/'
+
coverity:
stage: analysis
image: registry.gitlab.gnome.org/gnome/tracker-oci-images/amd64/fedora:latest
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]