Skip to content

Commit

Permalink
Ensure tests fail when integration tests don't compile
Browse files Browse the repository at this point in the history
  • Loading branch information
errordeveloper committed Dec 28, 2018
1 parent 0189206 commit 8022c72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8022c72

Please sign in to comment.