Skip to content

Commit

Permalink
chore: run gas report on e2e test only
Browse files Browse the repository at this point in the history
Unit tests relies on mock heavily, which might end up giving noice when reviewing gas usage.
  • Loading branch information
boolafish committed Nov 11, 2019
1 parent e3c15df commit 22116ce
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,16 @@ jobs:
name: Run tests
command: truffle test
working_directory: ~/repo/plasma_framework

Gas Report:
executor: truffle_executor
working_directory: ~/repo
steps:
- setup_truffle_env
- run:
name: Run tests
command: truffle test test/endToEndTests/**/*.e2e.test.js
working_directory: ~/repo/plasma_framework
environment:
CI: true
MOCHA_REPORTER: eth-gas-reporter
Expand Down Expand Up @@ -144,6 +154,7 @@ workflows:
Run truffle tests:
jobs:
- Truffle tests
- Gas Report
- Solidity coverage
- Javascript linter
- Solidity linter
Expand Down

0 comments on commit 22116ce

Please sign in to comment.