ci: add cobertura coverage report

This commit is contained in:
Rainer Killinger
2022-08-17 14:04:50 +02:00
parent a096d5be62
commit c1dc7b4e8f
2 changed files with 7 additions and 1 deletions

View File

@@ -83,10 +83,15 @@ test:
stage: test
script:
- npm test
coverage: '/Statements[^:]*\:[^:]*\s+([\d\.]+)%/'
artifacts:
paths:
- report
- coverage
reports:
coverage_report:
coverage_format: cobertura
path: coverage/cobertura-coverage.xml
mapping:
tags: