Skip to content

Commit 5515a13

Browse files
committed
feat: lets parallalize the windows jest tests now
1 parent cbc81bd commit 5515a13

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.circleci/config.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ jobs:
150150
destination: test-logs
151151
test_jest_windows_with_docker:
152152
<<: *windows_big
153+
parallelism: 4 # Run tests across 4 containers
153154
steps:
154155
- checkout
155156
- install_node_npm:
@@ -158,7 +159,10 @@ jobs:
158159
- run: npm ci
159160
- run: docker version
160161
- run:
161-
command: npm run test-jest-windows
162+
name: Run windows tests in parallel
163+
command: |
164+
TEST=$(circleci tests glob "test/**/*.spec.ts" | circleci tests split --split-by=timings)
165+
npm run test-jest-windows -- $TEST
162166
no_output_timeout: 20m
163167
test_jest_windows_no_docker:
164168
<<: *windows_big

0 commit comments

Comments
 (0)