Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Disable go test cache wehn running with coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
kleijnweb committed Jun 16, 2018
1 parent c4738a0 commit b2a1bfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -45,7 +45,7 @@ test: mocks vendor ## Run tests
GIT_TERMINAL_PROMPT=0 GOCACHE=off go test ${PACKAGES_LOCAL}

cover: mocks vendor ## Run tests with code coverage
GIT_TERMINAL_PROMPT=0 go test ${PACKAGES_LOCAL} -covermode=count -coverprofile=cover.out ./...
GIT_TERMINAL_PROMPT=0 GOCACHE=off go test ${PACKAGES_LOCAL} -covermode=count -coverprofile=cover.out ./...
go tool cover -func=cover.out

run: ## Runs git-mirror-manager without building
Expand Down

0 comments on commit b2a1bfb

Please sign in to comment.