Generate separate reports
This commit is contained in:
parent
67e2fd39a3
commit
a521ce31ce
@ -49,7 +49,7 @@ jobs:
|
||||
# https://www.viget.com/articles/using-junit-on-circleci-2-0-with-jest-and-eslint/
|
||||
- run:
|
||||
name: "JavaScript Test Suite"
|
||||
command: yarn run test:unit
|
||||
command: yarn run test:unit:ci
|
||||
environment:
|
||||
JEST_JUNIT_OUTPUT: "reports/junit/js-test-results.xml"
|
||||
|
||||
|
||||
10
.codecov.yml
10
.codecov.yml
@ -7,23 +7,18 @@
|
||||
coverage:
|
||||
status:
|
||||
project:
|
||||
default: off
|
||||
default:
|
||||
threshold: 0.10%
|
||||
core:
|
||||
flags: core
|
||||
threshold: 0.10%
|
||||
i18n:
|
||||
flags: i18n
|
||||
threshold: 0.10%
|
||||
ui:
|
||||
flags: ui
|
||||
threshold: 0.10%
|
||||
viewer:
|
||||
flags: viewer
|
||||
threshold: 0.10%
|
||||
patch: off
|
||||
#
|
||||
flags:
|
||||
# PLATFORM
|
||||
core:
|
||||
paths:
|
||||
- platform/core/src
|
||||
@ -36,7 +31,6 @@ flags:
|
||||
viewer:
|
||||
paths:
|
||||
- platform/viewer/src
|
||||
# EXTENSIONS
|
||||
cornerstone:
|
||||
paths:
|
||||
- extensions/cornerstone/src
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
"start": "lerna run lerna:start --parallel",
|
||||
"build": "lerna run lerna:build --parallel",
|
||||
"test:ci": "",
|
||||
"test:unit": "jest --ci --runInBand --collectCoverage && codecov",
|
||||
"test:unit": "jest --collectCoverage",
|
||||
"test:unit:ci": "lerna run test:unit:ci --parallel",
|
||||
"test:e2e": "",
|
||||
"test:e2e:ci": "lerna run lerna:test:e2e --parallel",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user