Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

Commit

Permalink
Enforced go modules on for every part of the test command (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
austinabell authored and soc1c committed Jun 14, 2019
1 parent cc14651 commit 3c38411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ lint: ## Run all the linters

test: ## Run all the tests
echo 'mode: atomic' > coverage.txt && \
${GO_MOD} go list ./... | xargs -n1 -I{} sh -c 'go test -covermode=atomic -coverprofile=coverage.tmp {} && \
${GO_MOD} go list ./... | xargs -n1 -I{} sh -c '${GO_MOD} go test -covermode=atomic -coverprofile=coverage.tmp {} && \
tail -n +2 coverage.tmp >> coverage.txt' && \
rm coverage.tmp

Expand Down

0 comments on commit 3c38411

Please sign in to comment.