From 835fa0af131f8a0deeb6dc1030e584687f336332 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Tue, 16 Jan 2018 13:44:38 +0100 Subject: Test workflow --- .circleci/config.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 85b055571..e64f4b5b7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -20,10 +20,30 @@ jobs: - run: unzip ${CONTRACTS_COMMIT_HASH}.zip -d testrpc_snapshot - run: node ./node_modules/lerna/bin/lerna.js bootstrap - run: yarn lerna:run build + test: + steps: - run: name: testrpc command: npm run testrpc -- --db testrpc_snapshot background: true - run: yarn lerna:run test:circleci + lint: + steps: - run: yarn lerna:run lint + prettier: + steps: - run: yarn prettier:ci +workflows: + version: 2 + main: + jobs: + - build + - test: + requires: + - build + - lint: + requires: + - build + - prettier: + requires: + - build -- cgit v1.2.3