From c90d06bc7acca13ba0454a58b34325d0561f150c Mon Sep 17 00:00:00 2001 From: Shulhan Date: Thu, 9 May 2024 21:00:05 +0700 Subject: [PATCH] dev: set CGO_ENABLED=1 when running "test" task (#4712) --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 2554acb9c07b..b19cea7fd431 100644 --- a/Makefile +++ b/Makefile @@ -28,6 +28,7 @@ clean: # Test test: export GOLANGCI_LINT_INSTALLED = true +test: CGO_ENABLED=1 test: build GL_TEST_RUN=1 ./$(BINARY) run -v GL_TEST_RUN=1 go test -v -parallel 2 ./...