Skip to content
Snippets Groups Projects
Commit 83288f23 authored by Haelwenn's avatar Haelwenn
Browse files

Merge branch 'coverage' into 'develop'

CI: Extract test coverage information

See merge request !322
parents 056f05f3 001d2f43
No related branches found
No related tags found
1 merge request!322CI: Extract test coverage information
Pipeline #43093 passed
......@@ -48,4 +48,10 @@ test:
key: '$CI_COMMIT_SHORT_SHA'
policy: pull
script:
- yarn test
\ No newline at end of file
- yarn test --coverage
coverage: '/^Lines *: *([^ ]*%) [^%]*$/'
artifacts:
reports:
coverage_report:
coverage_format: cobertura
path: coverage/clover.xml
......@@ -115,6 +115,7 @@
"not ie <= 8"
],
"jest": {
"coverageReporters": ["clover", "text-summary"],
"moduleFileExtensions": [
"js",
"json",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment