ci: add cobertura coverage report

This commit is contained in:
Rainer Killinger
2022-08-17 17:02:01 +02:00
parent 6e07041215
commit 5e8745e742
2 changed files with 7 additions and 0 deletions

View File

@@ -23,6 +23,12 @@ unit:
- build
script:
- npm run test-unit
coverage: '/Statements[^:]*\:[^:]*\s+([\d\.]+)%/'
artifacts:
reports:
coverage_report:
coverage_format: cobertura
path: coverage/cobertura-coverage.xml
integration:
image: registry.gitlab.com/openstapps/projectmanagement/builder

View File

@@ -116,6 +116,7 @@
],
"lines": 95,
"reporter": [
"cobertura",
"html",
"text-summary"
],