dev: set CGO_ENABLED=1 when running "test" task (#4712)

This commit is contained in:
Shulhan 2024-05-09 21:00:05 +07:00 committed by GitHub
parent 35eaf609eb
commit c90d06bc7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 ./...