From 8022c728d43372947e5962100c08cf50822bec80 Mon Sep 17 00:00:00 2001 From: Ilya Dmitrichenko Date: Fri, 28 Dec 2018 11:44:29 +0000 Subject: [PATCH] Ensure tests fail when integration tests don't compile --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 4ba1eaf3e3a..78a930c3ca0 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,7 @@ test: generate ## Run unit test (and re-generate code under test) @git diff --exit-code ./pkg/eks/mocks > /dev/null || (git --no-pager diff; exit 1) @$(MAKE) unit-test @test -z $(COVERALLS_TOKEN) || $(GOPATH)/bin/goveralls -coverprofile=coverage.out -service=circle-ci + @go test -tags integration ./integration/... -c && rm -f integration.test .PHONY: unit-test unit-test: ## Run unit test only