chore(makefile): add download-tun2socks dependency to test targets
Some checks failed
Build and test / Build (pull_request) Successful in 13s
Build and test / Lint (pull_request) Failing after 10s
Build and test / Test (Linux) (pull_request) Failing after 1m11s

This commit is contained in:
juanarias8
2026-03-10 20:28:46 -05:00
parent c383d563ff
commit 9a296e97ba

View File

@@ -38,11 +38,11 @@ build-ci: download-tun2socks
$(eval GIT_COMMIT := $(shell git rev-parse HEAD 2>/dev/null || echo "unknown"))
$(GOBUILD) -ldflags "-s -w -X main.version=$(VERSION) -X main.buildTime=$(BUILD_TIME) -X main.gitCommit=$(GIT_COMMIT)" -o $(BINARY_NAME) -v ./cmd/greywall
test:
test: download-tun2socks
@echo "Running tests..."
$(GOTEST) -v ./...
test-ci:
test-ci: download-tun2socks
@echo "CI: Running tests with coverage..."
$(GOTEST) -v -race -coverprofile=coverage.out ./...