Exclude grpc-fortune-teller from go list
Deps are managed by bazel so these will fail to show up in the vendor tree, triggering false positive build fail.
This commit is contained in:
parent
e98e3f3b9d
commit
326a2749c2
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -172,7 +172,7 @@ e2e-test:
|
|||
.PHONY: cover
|
||||
cover:
|
||||
@rm -rf coverage.txt
|
||||
@for d in `go list ./... | grep -v vendor | grep -v '/test/e2e'`; do \
|
||||
@for d in `go list ./... | grep -v vendor | grep -v '/test/e2e' | grep -v 'images/grpc-fortune-teller'`; do \
|
||||
t=$$(date +%s); \
|
||||
go test -coverprofile=cover.out -covermode=atomic $$d || exit 1; \
|
||||
echo "Coverage test $$d took $$(($$(date +%s)-t)) seconds"; \
|
||||
|
|
Loading…
Reference in a new issue