summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJeremy Bettis <jbettis@google.com>2022-01-05 09:26:56 -0700
committerCommit Bot <commit-bot@chromium.org>2022-02-08 15:38:31 +0000
commitac79c4832f02fa7f5fb52a6e4b76f1f61deb16fb (patch)
tree0255e57f996a38ad06878d66da07894c8d7f6cd1 /.gitlab-ci.yml
parent114b5d5f3636a9e46a819c8c7074c4fd52f7f925 (diff)
downloadchrome-ec-ac79c4832f02fa7f5fb52a6e4b76f1f61deb16fb.tar.gz
gitlab: Extract twister coverage number
Extract the coverage % from the lcov summary, so it shows up in the UI at https://gitlab.com/zephyr-ec/ec/-/jobs. BRANCH=None BUG=None TEST=None Signed-off-by: Jeremy Bettis <jbettis@google.com> Change-Id: Id420e07b74ecbe646e79dbae4d53f01d2293e91e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3443646 Tested-by: Jeremy Bettis <jbettis@chromium.org> Auto-Submit: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Denis Brockus <dbrockus@chromium.org> Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 52d6525b33..492ae8c27c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -285,3 +285,4 @@ twister_coverage:
paths:
- build/zephyr_codecov/fixed.info
expire_in: 1 week
+ coverage: '/lines\.*: \d+\.\d+%/'