Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

build: fix build tags for go vet and test #1407

Merged
merged 1 commit into from
Mar 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ lint-helm: ## Lint Helm charts
docker run --rm --workdir /workdir --volume "$(ROOT_DIR):/workdir" quay.io/helmpack/chart-testing:v3.8.0 ct lint --all

GOTEST_OPTS := -failfast -timeout 30m -short
GOTEST_OPTS += -tags="$(GO_BUILD_TAGS)"
GOTEST_OPTS += $(BUILD_OPTS)
ifeq ($(CI),true)
GOTEST_OPTS += -v
endif
Expand All @@ -223,7 +223,7 @@ $(TESTGOMODULES):
.PHONY: test
test: $(TESTGOMODULES) ## Run Go unit tests

GOVET_OPTS := -tags="$(GO_BUILD_TAGS)"
GOVET_OPTS := $(BUILD_OPTS)
VETGOMODULES = $(addprefix vet-, $(GOMODULES))

$(VETGOMODULES):
Expand Down
Loading