File tree 4 files changed +12
-3
lines changed
4 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 14
14
- name : Install dependencies
15
15
shell : bash
16
16
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:
38
38
uses : onbjerg/foundry-toolchain@v1
39
39
with :
40
40
version : nightly
41
- - name : Run coverage
41
+ - name : Run coverage and tests
42
42
run : |
43
43
forge coverage --report lcov
44
- - name : Run tests
45
- run : |
44
+ lcov --remove lcov.info -o lcov.info 'src/test/**'
46
45
forge test
47
46
- name : Upload coverage reports to Codecov
48
47
uses : codecov/codecov-action@v3
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ yarn.lock
44
44
# Forge
45
45
# /lib
46
46
/out
47
+ lcov.info
47
48
48
49
# Build
49
50
.swc /
Original file line number Diff line number Diff line change 16
16
"var-name-mixedcase" : " error" ,
17
17
"func-visibility" : [" error" , { "ignoreConstructors" : true }],
18
18
"not-rely-on-time" : " off" ,
19
+ "no-empty-blocks" : " off" ,
20
+ "contract-name-camelcase" : " off" ,
21
+ "no-inline-assembly" : " off" ,
19
22
"prettier/prettier" : [
20
23
" error" ,
21
24
{
You can’t perform that action at this time.
0 commit comments