From aa7852f170c8d2c0136c2246db2ea12d1a62ee57 Mon Sep 17 00:00:00 2001 From: Bill Date: Sat, 1 Aug 2020 14:34:40 -0400 Subject: [PATCH] ci(unit tests): run Jest tests in single thread to prevent OOM exception Since the circle container is only 4GB, running jest tests in parallel is problematic as the container frequently runs out of memory. The memoryt can either be increased, or the tests can run in a single thread --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5c5e428ac..2b1f4faa4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -50,7 +50,7 @@ jobs: - *restore_node_modules - run: name: yarn test:unit - command: yarn test:unit + command: yarn test:unit -w 1 workflows: version: 2 install-tests: