Run Jest tests in a single process
CircleCI tests run 8x slower than on my laptop (M2 Pro). Try the suggested mitigation from https://jestjs.io/docs/troubleshooting
This commit is contained in:
Родитель
b8427e2bad
Коммит
e56bbdb0b5
|
@ -71,6 +71,7 @@ jobs:
|
||||||
mkdir --parents /tmp/workspace/test-results/frontend-coverage
|
mkdir --parents /tmp/workspace/test-results/frontend-coverage
|
||||||
npm test --workspace frontend -- \
|
npm test --workspace frontend -- \
|
||||||
--ci \
|
--ci \
|
||||||
|
--runInBand \
|
||||||
--coverageDirectory=/tmp/workspace/test-results/frontend-coverage
|
--coverageDirectory=/tmp/workspace/test-results/frontend-coverage
|
||||||
- store_test_results:
|
- store_test_results:
|
||||||
path: frontend/junit.xml
|
path: frontend/junit.xml
|
||||||
|
|
Загрузка…
Ссылка в новой задаче