Moar parallel
This commit is contained in:
1 parent
7ccf9f5bef
commit
859e636d1a
1 file changed
+5
-1
@@ -109,17 +109,21 @@ jobs:
|
||||
path: dist
|
||||
integration:
|
||||
<<: *defaults
|
||||
parallelism: 2
|
||||
environment:
|
||||
JEST_JUNIT_OUTPUT_NAME: results.txt
|
||||
steps:
|
||||
- *restore_git_cache
|
||||
- checkout
|
||||
- *restore_npm_cache
|
||||
- *restore_build_cache
|
||||
- run:
|
||||
name: Integration
|
||||
environment:
|
||||
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:
|
||||
path: test-results
|
||||
|
||||
|
||||
Reference in new issue
Block a user