From 621cf439749fabbc6f50f61397ec12573175ba3a Mon Sep 17 00:00:00 2001 From: optikfluffel Date: Thu, 28 Mar 2019 16:36:42 +0100 Subject: Move NodeJS examples next to each other --- app/views/projects/settings/ci_cd/_form.html.haml | 6 +++--- 1 file changed, 3 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..8aa2752a8b3 100644 --- a/app/views/projects/settings/ci_cd/_form.html.haml +++ b/app/views/projects/settings/ci_cd/_form.html.haml @@ -101,6 +101,9 @@ %li 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+)% @@ -110,9 +113,6 @@ %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" -- cgit v1.2.1 From 0dad0e6d9be9eee5bc954c8386a38c696c7b2e0e Mon Sep 17 00:00:00 2001 From: optikfluffel Date: Thu, 28 Mar 2019 16:41:52 +0100 Subject: Add Elixir example for built in coverage tool --- app/views/projects/settings/ci_cd/_form.html.haml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/views/projects/settings/ci_cd/_form.html.haml b/app/views/projects/settings/ci_cd/_form.html.haml index 8aa2752a8b3..b38b8e3f686 100644 --- a/app/views/projects/settings/ci_cd/_form.html.haml +++ b/app/views/projects/settings/ci_cd/_form.html.haml @@ -107,6 +107,9 @@ %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})% -- cgit v1.2.1