Skip to content

Commit

Permalink
fix: test: Add -cover flag back, and use the proper parallel flag for…
Browse files Browse the repository at this point in the history
… testing

Signed-off-by: Romain Beuque <romain.beuque@corp.ovh.com>
  • Loading branch information
rbeuque74 committed Feb 4, 2020
1 parent 0a7cb96 commit de0f730
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 @@ -3,7 +3,7 @@ BINARY = utask
MAIN_LOCATION = ./cmd

TEST_LOCATION = ./...
TEST_CMD = go test -count=1 -v -mod=vendor -parallel 1 ${TEST_LOCATION}
TEST_CMD = go test -count=1 -v -mod=vendor -cover -p 1 ${TEST_LOCATION}
TEST_CMD_COV = ${TEST_CMD} -covermode=count -coverprofile=coverage.out

SOURCE_FILES = $(shell find ./ -type f -name "*.go" | grep -v _test.go)
Expand Down

0 comments on commit de0f730

Please sign in to comment.