File tree Expand file tree Collapse file tree 4 files changed +12
-3
lines changed Expand file tree Collapse file tree 4 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 1414 - name : Install dependencies
1515 shell : bash
1616 run : yarn
17+
18+ - name : Setup lcov
19+ shell : bash
20+ run : |
21+ sudo apt update
22+ sudo apt install -y lcov
Original file line number Diff line number Diff line change @@ -38,11 +38,10 @@ jobs:
3838 uses : onbjerg/foundry-toolchain@v1
3939 with :
4040 version : nightly
41- - name : Run coverage
41+ - name : Run coverage and tests
4242 run : |
4343 forge coverage --report lcov
44- - name : Run tests
45- run : |
44+ lcov --remove lcov.info -o lcov.info 'src/test/**'
4645 forge test
4746 - name : Upload coverage reports to Codecov
4847 uses : codecov/codecov-action@v3
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ yarn.lock
4444# Forge
4545# /lib
4646/out
47+ lcov.info
4748
4849# Build
4950.swc /
Original file line number Diff line number Diff line change 1616 "var-name-mixedcase" : " error" ,
1717 "func-visibility" : [" error" , { "ignoreConstructors" : true }],
1818 "not-rely-on-time" : " off" ,
19+ "no-empty-blocks" : " off" ,
20+ "contract-name-camelcase" : " off" ,
21+ "no-inline-assembly" : " off" ,
1922 "prettier/prettier" : [
2023 " error" ,
2124 {
You can’t perform that action at this time.
0 commit comments