chore(circleci): track test results (#4261)

This commit is contained in:
Michael Kriese 2019-08-07 11:09:09 +02:00 committed by Rhys Arkins
parent 2e546e4582
commit 544aed75dd

View file

@ -30,7 +30,8 @@ commands:
- run: - run:
name: Lint name: Lint
command: | command: |
yarn lint yarn eslint --format junit -o reports/junit/js-lint-results.xml
yarn prettier
yarn test-schema yarn test-schema
yarn type-check yarn type-check
@ -42,7 +43,14 @@ commands:
- run: - run:
name: Unit Tests name: Unit Tests
command: | command: |
yarn jest --runInBand yarn jest --runInBand --ci --reporters=default --reporters=jest-junit
environment:
JEST_JUNIT_OUTPUT: 'reports/junit/js-test-results.xml'
- store_test_results:
path: reports/junit
- store_artifacts:
path: reports/junit
- run: - run:
name: E2E Tests name: E2E Tests