Skip to content

Commit

Permalink
Check Test
Browse files Browse the repository at this point in the history
Signed-off-by: Yogesh Deshpande <[email protected]>
  • Loading branch information
yogeshbdeshpande committed Mar 14, 2024
1 parent 1df0ea8 commit ca744a0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
- name: Run tests
run: |
go version
make -w test
make -w test CITEST=${{ env.CITEST }}
2 changes: 1 addition & 1 deletion mk/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)")
Expand Down
2 changes: 1 addition & 1 deletion mk/test.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ca744a0

Please sign in to comment.