Merge branch 'coverage-parsing-examples' into 'master'

Tweak coverage parsing examples

See merge request gitlab-org/gitlab-ce!26732
This commit is contained in:
Grzegorz Bizon 2019-04-02 06:55:39 +00:00
commit 4d1116efa1

View file

@ -101,18 +101,21 @@
%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+)%
%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"