mirror of https://gitlab.com/gitlab-org/cli.git
chore: Do not set CGO_ENABLED when running tests
This commit is contained in:
parent
3b9454da75
commit
07cf8c298a
2
Makefile
2
Makefile
|
@ -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 ./...
|
||||
|
||||
|
|
Loading…
Reference in New Issue