Generate separate reports

This commit is contained in:
dannyrb 2019-07-18 13:07:29 -04:00
parent 67e2fd39a3
commit a521ce31ce
3 changed files with 4 additions and 10 deletions

View File

@ -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"

View File

@ -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

View File

@ -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",