Add CircleCI test config

This commit is contained in:
dannyrb 2019-04-25 16:50:57 -04:00
parent 62de1a3721
commit ebefd8b758

View File

@ -38,7 +38,18 @@ jobs:
# Build & Test
- run: yarn build
# - run: yarn test
# https://www.viget.com/articles/using-junit-on-circleci-2-0-with-jest-and-eslint/
- run:
name: 'JavaScript Test Suite'
command: yarn test:ci
environment:
JEST_JUNIT_OUTPUT: 'reports/junit/js-test-results.xml'
# Store result
- store_test_results:
path: reports/junit
- store_artifacts:
path: reports/junit
# Persist :+1:
- persist_to_workspace: