File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -109,17 +109,21 @@ jobs:
109
109
path : dist
110
110
integration :
111
111
<< : *defaults
112
+ parallelism : 2
112
113
environment :
113
114
JEST_JUNIT_OUTPUT_NAME : results.txt
114
115
steps :
115
116
- *restore_git_cache
116
117
- checkout
117
118
- *restore_npm_cache
119
+ - *restore_build_cache
118
120
- run :
119
121
name : Integration
120
122
environment :
121
123
JEST_JUNIT_OUTPUT_DIR : test-results/integration
122
- command : npm run test:integration -- --reporters="default" --reporters="jest-junit"
124
+ command : |
125
+ export TESTFILES=$(circleci tests glob "test/integration/*.test.js" | circleci tests split --split-by=timings)
126
+ $(npm bin)/jest ${TESTFILES} --reporters="default" --reporters="jest-junit"
123
127
- store_test_results :
124
128
path : test-results
125
129
You can’t perform that action at this time.
0 commit comments