diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2019-04-02 06:55:39 +0000 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2019-04-02 06:55:39 +0000 |
commit | 4d1116efa12509c07e685b7037bf5f317605c2a0 (patch) | |
tree | 2a7882c25cd60d02c229358f1d51f0f136def928 /app | |
parent | e929fc1b9eccd42db9c0fb61786fecb26aa49d0c (diff) | |
parent | 0dad0e6d9be9eee5bc954c8386a38c696c7b2e0e (diff) | |
download | gitlab-ce-4d1116efa12509c07e685b7037bf5f317605c2a0.tar.gz |
Merge branch 'coverage-parsing-examples' into 'master'
Tweak coverage parsing examples
See merge request gitlab-org/gitlab-ce!26732
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/settings/ci_cd/_form.html.haml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/app/views/projects/settings/ci_cd/_form.html.haml b/app/views/projects/settings/ci_cd/_form.html.haml index bfb275b9ef5..b38b8e3f686 100644 --- a/app/views/projects/settings/ci_cd/_form.html.haml +++ b/app/views/projects/settings/ci_cd/_form.html.haml @@ -102,17 +102,20 @@ tap --coverage-report=text-summary (NodeJS) - %code ^Statements\s*:\s*([^%]+) %li + nyc npm test (NodeJS) - + %code All files[^|]*\|[^|]*\s+([\d\.]+) + %li excoveralls (Elixir) - %code \[TOTAL\]\s+(\d+\.\d+)% %li + mix test --cover (Elixir) - + %code \d+.\d+\%\s+\|\s+Total + %li JaCoCo (Java/Kotlin) %code Total.*?([0-9]{1,3})% %li go test -cover (Go) %code coverage: \d+.\d+% of statements - %li - nyc npm test (NodeJS) - - %code All files[^|]*\|[^|]*\s+([\d\.]+) = f.submit _('Save changes'), class: "btn btn-success" |