Skip to content

Commit

Permalink
refactor: ci: fix filtering when calculate coverage stat: `*.pb.go ->…
Browse files Browse the repository at this point in the history
… **/*.pb.go`
  • Loading branch information
drmingdrmer committed Nov 14, 2020
1 parent 62fec72 commit e80a306
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ test:
# fail fast with severe bugs
$(GO) test -short $(PKGS)
$(GO) test -tags debug $(PKGS)
# $(GO) test $(PKGS)
# test release version and generate coverage data for task `coveralls`.
$(GO) test -covermode=count -coverprofile=coverage.out $(PKGS)

lint: vet gofmt misspell unconvert ineffassign unparam
Expand Down Expand Up @@ -90,5 +90,5 @@ coverage:
coveralls:
$(GO) get golang.org/x/tools/cmd/cover
$(GO) get github.com/mattn/goveralls
goveralls -ignore='*.pb.go' -coverprofile=coverage.out -service=travis-ci
goveralls -ignore='**/*.pb.go' -coverprofile=coverage.out -service=travis-ci
# -repotoken $$COVERALLS_TOKEN

0 comments on commit e80a306

Please sign in to comment.