From 7ce037a7f133aaa8265ee54e5651ef4aea181b45 Mon Sep 17 00:00:00 2001 From: Albert Yi Date: Tue, 15 May 2018 16:31:27 -0700 Subject: [PATCH] split tests by timings for circleci [skip ci] --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 514e73246..f6963bf8c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -47,7 +47,7 @@ jobs: name: Run tests command: | - circleci tests glob test/**/*_test.rb | circleci tests split | xargs -I{} docker-compose -f config/docker/compose.yml exec -T web bash -l -c 'cd /app ; bin/rails test --no-ci-clean {}' + circleci tests glob test/**/*_test.rb | circleci tests split --split-by=timings | xargs -I{} docker-compose -f config/docker/compose.yml exec -T web bash -l -c 'cd /app ; bin/rails test --no-ci-clean {}' docker cp docker_web_1:/app/test/reports /tmp - store_test_results: path: /tmp/reports