Skip to content

Commit

Permalink
Merge pull request #16 from chimera-defi/cov
Browse files Browse the repository at this point in the history
add codecov
  • Loading branch information
chimera-defi authored May 30, 2024
2 parents 5138d9f + 000b6a1 commit 7fc0978
Show file tree
Hide file tree
Showing 5 changed files with 411 additions and 50 deletions.
1 change: 1 addition & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ jobs:
- run: yarn install
- run: yarn sol
- run: yarn test
- run: yarn coverage
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ deploy_log.json
logs.txt

.env

# coverage
coverage/*
coverage.json
2 changes: 2 additions & 0 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ require("hardhat-deploy-ethers");
require("hardhat-gas-reporter");
require("hardhat-contract-sizer");
require("hardhat-abi-exporter");
require('solidity-coverage')

require("dotenv").config();

// Environment sourced variables
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"prettier-plugin-solidity": "^1.3.1",
"sol2uml": "^1.1.29",
"solhint": "^5.0.1",
"solhint-plugin-prettier": "^0.1.0"
"solhint-plugin-prettier": "^0.1.0",
"solidity-coverage": "^0.8.12"
},
"dependencies": {
"@fei-protocol/erc4626": "^0.0.0",
Expand Down
Loading

0 comments on commit 7fc0978

Please sign in to comment.