diff --git a/scripts/circleci/test_coverage.sh b/scripts/circleci/test_coverage.sh index d486b398cea4a..c6730a50b0342 100755 --- a/scripts/circleci/test_coverage.sh +++ b/scripts/circleci/test_coverage.sh @@ -2,7 +2,7 @@ set -e -yarn test --coverage +yarn test --coverage --runInBand if [ -z $CI_PULL_REQUEST ]; then cat ./coverage/lcov.info | ./node_modules/.bin/coveralls fi diff --git a/scripts/circleci/test_entry_point.sh b/scripts/circleci/test_entry_point.sh index 8bee1a331b20a..e9dc6fcae6fd4 100755 --- a/scripts/circleci/test_entry_point.sh +++ b/scripts/circleci/test_entry_point.sh @@ -9,7 +9,7 @@ if [ $((1 % CIRCLE_NODE_TOTAL)) -eq "$CIRCLE_NODE_INDEX" ]; then fi if [ $((2 % CIRCLE_NODE_TOTAL)) -eq "$CIRCLE_NODE_INDEX" ]; then - COMMANDS_TO_RUN+=('yarn test-prod') + COMMANDS_TO_RUN+=('yarn test-prod --runInBand') fi if [ $((3 % CIRCLE_NODE_TOTAL)) -eq "$CIRCLE_NODE_INDEX" ]; then @@ -20,7 +20,7 @@ fi if [ $((0 % CIRCLE_NODE_TOTAL)) -eq "$CIRCLE_NODE_INDEX" ]; then COMMANDS_TO_RUN+=('node ./scripts/prettier/index') COMMANDS_TO_RUN+=('node ./scripts/tasks/flow') - COMMANDS_TO_RUN+=('yarn test') + COMMANDS_TO_RUN+=('yarn test --runInBand') COMMANDS_TO_RUN+=('./scripts/circleci/build.sh') COMMANDS_TO_RUN+=('./scripts/circleci/check_license.sh') COMMANDS_TO_RUN+=('./scripts/circleci/check_modules.sh')