Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Lucas <evanlucas@me.com>2016-04-07 18:03:22 +0300
committerEvan Lucas <evanlucas@me.com>2016-04-19 21:02:08 +0300
commitd6ab11a1ee043e0cacc1994219d3cc4d037dce5d (patch)
tree6ca98cb5c0844d316fad421cf43e5acca496f399
parentf1e778be48c36fb26670325e61acb4ed12785b7d (diff)
add tap coverage example to project settings
Previously, there were examples for Simplecov, pytest-cov, and phpunit. This adds an example for using the tap cli tool (https://github.com/tapjs/node-tap)
-rw-r--r--app/views/projects/_builds_settings.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/projects/_builds_settings.html.haml b/app/views/projects/_builds_settings.html.haml
index b6074373e2b..0de019983ca 100644
--- a/app/views/projects/_builds_settings.html.haml
+++ b/app/views/projects/_builds_settings.html.haml
@@ -55,6 +55,9 @@
%li
gcovr (C/C++) -
%code ^TOTAL.*\s+(\d+\%)$
+ %li
+ tap --coverage-report=text-summary (Node.js) -
+ %code ^Statements\s*:\s*([^%]+)
.form-group
.col-sm-offset-2.col-sm-10