Skip to content

Commit

Permalink
ci(perf): Set maxWorkers to match the number of cores available (#6249)
Browse files Browse the repository at this point in the history
AppVeyor VMs have 2 cores, yet we were telling Jest to use 3 workers. Changing it to 2 should reduce
overhead and speed up the test suite.
  • Loading branch information
Gudahtt authored and arcanis committed Aug 9, 2018
1 parent d051cc7 commit 0155739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ build_script:
test_script:
- cmd: |-
SET npm_execpath=%APPVEYOR_BUILD_FOLDER%\bin\yarn.js
node ./node_modules/jest/bin/jest.js --verbose --maxWorkers=3
node ./node_modules/jest/bin/jest.js --verbose --maxWorkers=2
artifacts:
- path: artifacts/*.msi
name: Installer
Expand Down

0 comments on commit 0155739

Please sign in to comment.