[nautilus/csoriano-generate-coverage-patch-22550] Update .gitlab-ci.yml
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/csoriano-generate-coverage-patch-22550] Update .gitlab-ci.yml
- Date: Tue, 9 Oct 2018 14:37:38 +0000 (UTC)
commit 5adbfedefdbfb995eda1da24d9322133164418b3
Author: Carlos Soriano <csoriano1618 gmail com>
Date: Tue Oct 9 14:37:29 2018 +0000
Update .gitlab-ci.yml
.gitlab-ci.yml | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d8ea3b737..dea99b0f7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -51,6 +51,10 @@ stages:
--exclude=../subprojects/libgd/
--exclude=../test/
> coverage.html
+ # Gitlab coverage badge parses the job log and searches for a string,
+ # so display the output that was generated so GitLab can use it for
+ # the badge.
+ - cat coverage.html
coverage: '/^TOTAL.*\s+(\d+\%)$/'
artifacts:
paths:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]