fix: use foundry reporter instead
This commit is contained in:
parent
ce78e2ca63
commit
155619c632
|
@ -56,5 +56,5 @@ jobs:
|
||||||
uses: zgosalvez/github-actions-report-lcov@v1
|
uses: zgosalvez/github-actions-report-lcov@v1
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
coverage-files: coverage/lcov.info
|
coverage-files: lcov.info
|
||||||
artifact-name: code-coverage-report
|
artifact-name: code-coverage-report
|
||||||
|
|
|
@ -11,3 +11,4 @@ artifacts
|
||||||
#Foundry files
|
#Foundry files
|
||||||
cache_forge
|
cache_forge
|
||||||
out
|
out
|
||||||
|
lcov.info
|
||||||
|
|
|
@ -9,7 +9,6 @@ import "@nomiclabs/hardhat-etherscan";
|
||||||
import "@nomiclabs/hardhat-ethers";
|
import "@nomiclabs/hardhat-ethers";
|
||||||
import "@nomiclabs/hardhat-waffle";
|
import "@nomiclabs/hardhat-waffle";
|
||||||
import "hardhat-gas-reporter";
|
import "hardhat-gas-reporter";
|
||||||
import "solidity-coverage";
|
|
||||||
|
|
||||||
dotenv.config();
|
dotenv.config();
|
||||||
const { SEPOLIA_URL, PRIVATE_KEY, ETHERSCAN_API_KEY } = process.env;
|
const { SEPOLIA_URL, PRIVATE_KEY, ETHERSCAN_API_KEY } = process.env;
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"deploy:sepolia": "yarn deploy sepolia",
|
"deploy:sepolia": "yarn deploy sepolia",
|
||||||
"deploy:localhost": "yarn deploy localhost",
|
"deploy:localhost": "yarn deploy localhost",
|
||||||
"verify:sepolia": "hardhat --network sepolia etherscan-verify",
|
"verify:sepolia": "hardhat --network sepolia etherscan-verify",
|
||||||
"coverage": "hardhat coverage",
|
"coverage": "forge coverage --report lcov",
|
||||||
"fmt": "prettier --write \"**/*.{js,ts}\"",
|
"fmt": "prettier --write \"**/*.{js,ts}\"",
|
||||||
"lint": "prettier --check \"**/*.{js,ts}\"",
|
"lint": "prettier --check \"**/*.{js,ts}\"",
|
||||||
"prepare": "husky install"
|
"prepare": "husky install"
|
||||||
|
@ -34,7 +34,6 @@
|
||||||
"hardhat-gas-reporter": "^1.0.8",
|
"hardhat-gas-reporter": "^1.0.8",
|
||||||
"husky": "^8.0.2",
|
"husky": "^8.0.2",
|
||||||
"lint-staged": "^13.0.3",
|
"lint-staged": "^13.0.3",
|
||||||
"solidity-coverage": "^0.7.21",
|
|
||||||
"ts-node": "^10.8.1",
|
"ts-node": "^10.8.1",
|
||||||
"typescript": "^4.7.4"
|
"typescript": "^4.7.4"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue