diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-13 23:34:37 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-13 23:34:37 +0800 |
commit | 11ed5d62baa0cce4014afaf6986a0745cc853bef (patch) | |
tree | fe4b6ce19485c4776604e0f62b9f58bb1b1aff14 /.circleci | |
parent | 5827170815904175d83908bd565d6028cd631737 (diff) | |
download | dexon-sol-tools-11ed5d62baa0cce4014afaf6986a0745cc853bef.tar.gz dexon-sol-tools-11ed5d62baa0cce4014afaf6986a0745cc853bef.tar.zst dexon-sol-tools-11ed5d62baa0cce4014afaf6986a0745cc853bef.zip |
Report all coverage reports together
Diffstat (limited to '.circleci')
-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 |