diff options
Diffstat (limited to '.circleci/config.yml')
-rw-r--r-- | .circleci/config.yml | 21 |
1 files changed, 21 insertions, 0 deletions
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 |