From 11ed5d62baa0cce4014afaf6986a0745cc853bef Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Tue, 13 Mar 2018 16:34:37 +0100 Subject: Report all coverage reports together --- .circleci/config.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to '.circleci/config.yml') diff --git a/.circleci/config.yml b/.circleci/config.yml index 17c4cc58d..0a31b925b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -40,6 +40,10 @@ jobs: command: npm run testrpc -- --db testrpc_snapshot background: true - run: yarn lerna:run --scope 0x.js test:circleci + - save_cache: + key: repo-{{ .Environment.CIRCLE_SHA1 }} + paths: + - ~/repo test-contracts: docker: - image: circleci/node:6.12 @@ -53,6 +57,10 @@ jobs: command: npm run testrpc -- --db testrpc_snapshot background: true - run: yarn lerna:run --scope contracts test:circleci + - save_cache: + key: repo-{{ .Environment.CIRCLE_SHA1 }} + paths: + - ~/repo test-deployer: docker: - image: circleci/node:6.12 @@ -97,6 +105,15 @@ jobs: keys: - repo-{{ .Environment.CIRCLE_SHA1 }} - run: yarn prettier:ci + coverage_report: + working_directory: ~/repo + docker: + - image: circleci/node:6.12 + steps: + - restore_cache: + keys: + - repo-{{ .Environment.CIRCLE_SHA1 }} + - run: yarn report_coverage workflows: version: 2 main: @@ -120,3 +137,7 @@ workflows: - lint: requires: - build + - coverage_report: + requires: + - test-0xjs + - test-contracts -- cgit v1.2.3