mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-24 05:05:20 -04:00
(ci) add coverage report
This commit is contained in:
parent
07bb6fa20b
commit
3a86a20fc0
@ -14,8 +14,12 @@ unit-tests:
|
|||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- yarn add -D jest-junit
|
- yarn add -D jest-junit
|
||||||
- yarn test --ci --reporters=default --reporters=jest-junit
|
- yarn test --ci --reporters=default --reporters=jest-junit --coverage --collect-coverage-from="./{plugins,server,src,store}/**" --coverage-reporters=text --coverage-reporters=cobertura
|
||||||
|
coverage: /All files[^|]*\|[^|]*\s+([\d\.]+)/
|
||||||
artifacts:
|
artifacts:
|
||||||
when: always
|
when: always
|
||||||
reports:
|
reports:
|
||||||
junit: junit.xml
|
junit: junit.xml
|
||||||
|
coverage_report:
|
||||||
|
coverage_format: cobertura
|
||||||
|
path: coverage/cobertura-coverage.xml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user