ci: fix and enhance coverage report

This commit is contained in:
Rainer Killinger
2022-08-22 12:34:55 +02:00
parent c7b30cf749
commit 2130d84920
2 changed files with 8 additions and 3 deletions

View File

@@ -60,9 +60,14 @@ unit:
script:
- npm run check-icons
- npm run test -- --watch=false --no-progress --code-coverage
coverage: '/Statements[^:]*\:[^:]*\s+([\d\.]+)%/'
artifacts:
paths:
- coverage
- coverage
reports:
coverage_report:
coverage_format: cobertura
path: coverage/cobertura-coverage.xml
# Disabled until redesign is settled
#