Skip to content
Snippets Groups Projects
Commit 859e636d authored by rschamp's avatar rschamp
Browse files

Moar parallel

parent 7ccf9f5b
No related branches found
No related tags found
No related merge requests found
...@@ -109,17 +109,21 @@ jobs: ...@@ -109,17 +109,21 @@ jobs:
path: dist path: dist
integration: integration:
<<: *defaults <<: *defaults
parallelism: 2
environment: environment:
JEST_JUNIT_OUTPUT_NAME: results.txt JEST_JUNIT_OUTPUT_NAME: results.txt
steps: steps:
- *restore_git_cache - *restore_git_cache
- checkout - checkout
- *restore_npm_cache - *restore_npm_cache
- *restore_build_cache
- run: - run:
name: Integration name: Integration
environment: environment:
JEST_JUNIT_OUTPUT_DIR: test-results/integration JEST_JUNIT_OUTPUT_DIR: test-results/integration
command: npm run test:integration -- --reporters="default" --reporters="jest-junit" command: |
export TESTFILES=$(circleci tests glob "test/integration/*.test.js" | circleci tests split --split-by=timings)
$(npm bin)/jest ${TESTFILES} --reporters="default" --reporters="jest-junit"
- store_test_results: - store_test_results:
path: test-results path: test-results
......
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