Separate CircleCI step for E2E tests
@@ -37,6 +37,19 @@ jobs:
npm install
npm run sol:lint
test_solidity:
+ executor: docker-node
+ steps:
+ - checkout
+ - run: sudo npm install -g ganache-cli@6.4.2
+ - run:
+ name: Running testrpc
+ command: ganache-cli
+ background: true
+ - run:
+ name: Run NPM tests
+ working_directory: ~/project/implementation/contracts
+ command: npm install && npm run test
+ test_e2e:
executor: docker-node
steps:
- checkout
@@ -52,7 +65,7 @@ jobs:
- run:
name: Run NPM tests
working_directory: ~/project/implementation/contracts
- command: npm install && npm run test
+ command: npm install && npm run test:e2e
generate_pngs:
docker:
- image: keepnetwork/texlive:15
