chore: Do not set CGO_ENABLED when running tests

This commit is contained in:
Patrick Bajao 2023-11-08 13:07:54 +08:00
parent 3b9454da75
commit 07cf8c298a
1 changed files with 0 additions and 2 deletions

View File

@ -125,7 +125,6 @@ test: VISUAL=
test: EDITOR=
test: PAGER=
test: export CI_PROJECT_PATH=$(shell git remote get-url origin)
test: export CGO_ENABLED=1
test: bin/gotestsum ## Run tests
$(GOTEST) --jsonfile test-output.log --no-summary=skipped --junitfile ./coverage.xml --format ${TEST_FORMAT} -- -coverprofile=./coverage.txt -covermode=atomic $(filter-out -v,${GOARGS}) $(if ${TEST_PKGS},${TEST_PKGS},./...)
@ -135,7 +134,6 @@ test-race: VISUAL=
test-race: EDITOR=
test-race: PAGER=
test-race: export CI_PROJECT_PATH=$(shell git remote get-url origin)
test-race: export CGO_ENABLED=1
test-race: bin/gotestsum ## Run tests with race detection
$(GOTEST) -- -race ./...