Skip to content

Commit 847fca4

Browse files
authored
Merge pull request #2178 from sthaha/fix-ci-test
chore(Makefile): race checker requires CGO_ENABLED=1
2 parents 1607676 + 2ada431 commit 847fca4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ clean:
8686
# Run tests with coverage
8787
.PHONY: test
8888
test:
89-
CGO_ENABLED=$(CGO_ENABLED) $(GOTEST) -v -race -coverprofile=$(COVER_PROFILE) $(TEST_PKGS)
89+
CGO_ENABLED=1 $(GOTEST) -v -race -coverprofile=$(COVER_PROFILE) $(TEST_PKGS)
9090

9191
# Generate coverage report
9292
.PHONY: coverage

0 commit comments

Comments
 (0)