From ca744a02eca9aa4974e902c7396a4c86a5dc9946 Mon Sep 17 00:00:00 2001 From: Yogesh Deshpande Date: Thu, 14 Mar 2024 15:27:12 -0400 Subject: [PATCH] Check Test Signed-off-by: Yogesh Deshpande --- .github/workflows/ci.yml | 2 +- mk/common.mk | 2 +- mk/test.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97eed6e0..5233299d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,4 +40,4 @@ jobs: - name: Run tests run: | go version - make -w test + make -w test CITEST=${{ env.CITEST }} diff --git a/mk/common.mk b/mk/common.mk index 7f148d43..c174a88e 100644 --- a/mk/common.mk +++ b/mk/common.mk @@ -5,7 +5,7 @@ SHELL := /bin/bash # Pass this to sub-make export GO111MODULE := on -export CITEST := on +export CITEST # Used to set the ServerVersion reported by services VERSION_FROM_GIT := $(shell git describe --tags --exact-match 2>/dev/null || echo -n "commit-$(shell git rev-parse --revs-only --short HEAD)") diff --git a/mk/test.mk b/mk/test.mk index 3052e1df..c00f76c7 100644 --- a/mk/test.mk +++ b/mk/test.mk @@ -50,7 +50,7 @@ check-mockgen: realtest: _mocks ; go test $(TEST_ARGS) $(GOPKG) .PHONY: realtest -ifeq (${{env.CITEST}},on) +ifeq ($(CITEST),1) COPYRIGHT_FLAGS += --no-year-check endif