From 1ccb97861273838523bf2e58c1ee8056605c259b Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Tue, 16 Jan 2018 14:04:02 +0100 Subject: Split tests into two bundles --- .circleci/config.yml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 84f3dc947..da3b4d386 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,7 +25,7 @@ jobs: key: repo-{{ .Environment.CIRCLE_SHA1 }} paths: - ~/repo - test: + test-0xjs: docker: - image: circleci/node:6.12 working_directory: ~/repo @@ -37,7 +37,20 @@ jobs: name: testrpc command: npm run testrpc -- --db testrpc_snapshot background: true - - run: yarn lerna:run test:circleci + - run: yarn lerna:run --scope 0x.js test:circleci + test-rest: + docker: + - image: circleci/node:6.12 + working_directory: ~/repo + steps: + - restore_cache: + keys: + - repo-{{ .Environment.CIRCLE_SHA1 }} + - run: + name: testrpc + command: npm run testrpc -- --db testrpc_snapshot + background: true + - run: yarn lerna:run --ignore 0x.js test:circleci lint: working_directory: ~/repo docker: @@ -61,7 +74,10 @@ workflows: main: jobs: - build - - test: + - test-0xjs: + requires: + - build + - test-rest: requires: - build - lint: -- cgit v1.2.3