CircleCI: Ensure only 2 Jest workers for frontend tests (#27450)

* CircleCI: Fix OOMs during frontend tests

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
Arve Knudsen 2020-09-08 15:31:22 +02:00 committed by GitHub
parent 581d2eaaf4
commit 823911b173
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -853,10 +853,7 @@ jobs:
- run: - run:
name: frontend tests name: frontend tests
command: | command: |
yarn run ci:test-frontend ./scripts/circle-test-backend.sh
if [[ $CIRCLE_BRANCH == "master" ]]; then
./scripts/ci-frontend-metrics.sh | ./bin/grabpl publish-metrics ${GRAFANA_MISC_STATS_API_KEY}
fi
- store_test_results: - store_test_results:
path: reports/junit path: reports/junit
- run: - run: