exclude *.pb.gw.go files from codecov.io report (#7981)
This commit is contained in:
parent
fe58ee9951
commit
ba4bc4b5c8
|
@ -144,6 +144,7 @@ jobs:
|
|||
run: |
|
||||
excludelist="$(find ./ -type f -name '*.go' | xargs grep -l 'DONTCOVER')"
|
||||
excludelist+=" $(find ./ -type f -name '*.pb.go')"
|
||||
excludelist+=" $(find ./ -type f -name '*.pb.gw.go')"
|
||||
excludelist+=" $(find ./ -type f -path './tests/mocks/*.go')"
|
||||
for filename in ${excludelist}; do
|
||||
filename=$(echo $filename | sed 's/^./github.com\/cosmos\/cosmos-sdk/g')
|
||||
|
|
Loading…
Reference in New Issue