From c7feaa344f521b28944f715e1e9257fdcf1ccf79 Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Tue, 17 Jul 2018 13:51:59 -0600 Subject: [PATCH] fix: runInBand for CI --- .circleci/config.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 45d18b2db..92a18e11c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,7 @@ # job_environment will setup the environment for any job being executed. job_environment: &job_environment NODE_ENV: test + CI: true # job_defaults applies all the defaults for each job. job_defaults: &job_defaults @@ -61,7 +62,9 @@ jobs: command: npm run compile - run: name: Perform testing - command: npm run test + # We're running these tests in band to avoid errors where the circleci + # test runner runs out of RAM trying to run them all in parallel. + command: npm run test -- --runInBand # build will build the static assets and server typescript files. build: