Skip to content

Commit

Permalink
exclude *.pb.gw.go files from codecov.io report (#7981)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessio Treglia authored Nov 19, 2020
1 parent fe58ee9 commit ba4bc4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit ba4bc4b

Please sign in to comment.