Skip to content

Commit

Permalink
Add code coverage step to circle CI pipeline, add coveralls dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Marccio Silva committed Aug 12, 2021
1 parent 591403c commit f260965
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,9 @@ jobs:
command: |
cd bridge
npm test
- run:
name: bridge coverage
command: |
npm run coverage
cat coverage/lcov.info | npx coveralls
63 changes: 63 additions & 0 deletions bridge/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions bridge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,23 @@
"@truffle/hdwallet-provider": "^1.4.0",
"chalk": "^4.1.0",
"eth-gas-reporter": "^0.2.22",
"solhint": "^3.3.6",
"npm-force-resolutions": "0.0.3",
"resolve": "^1.13.0",
"solhint": "^3.3.6",
"solidity-coverage": "^0.7.16",
"table": "^6.0.3",
"truffle": "^5.3.9",
"truffle-assertions": "^0.9.2",
"truffle-plugin-verify": "^0.5.9"
},
"devDependencies": {
"web3": ">=1.0.0",
"axios": ">=0.21.1",
"coveralls": "^3.1.1",
"css-what": ">=5.0.1",
"elliptic": ">=6.5.4",
"glob-parent": ">=5.1.2",
"node-fetch": ">=2.6.1",
"web3": ">=1.0.0",
"y18n": ">=5.0.5"
},
"resolutions": {
Expand Down

0 comments on commit f260965

Please sign in to comment.