mirror of
https://github.com/status-im/go-waku.git
synced 2025-01-12 23:04:45 +00:00
chore: exclude protobuffers from code coverage
This commit is contained in:
parent
7ff5fcf838
commit
df6757fc33
1
.gitignore
vendored
1
.gitignore
vendored
@ -17,6 +17,7 @@ go-waku
|
||||
|
||||
# Output of the go coverage tool, specifically when used with LiteIDE
|
||||
*.out
|
||||
*.out.tmp
|
||||
coverage.html
|
||||
coverage.json
|
||||
|
||||
|
3
Makefile
3
Makefile
@ -25,7 +25,8 @@ lint:
|
||||
@golangci-lint --exclude=SA1019 run ./... --deadline=5m
|
||||
|
||||
test:
|
||||
go test ./waku/... -coverprofile=${GO_TEST_OUTFILE}
|
||||
go test ./waku/... -coverprofile=${GO_TEST_OUTFILE}.tmp
|
||||
cat ${GO_TEST_OUTFILE}.tmp | grep -v ".pb.go" > ${GO_TEST_OUTFILE}
|
||||
go tool cover -html=${GO_TEST_OUTFILE} -o ${GO_HTML_COV}
|
||||
|
||||
_before-cc:
|
||||
|
Loading…
x
Reference in New Issue
Block a user