mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 02:43:36 +00:00
ci: document TEST_COVERAGE and GO_COVER_DIR in buid.env
Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
4fd973b924
commit
3cc791c7c4
4
Makefile
4
Makefile
@ -74,8 +74,10 @@ all: cephcsi
|
||||
test: go-test static-check mod-check
|
||||
static-check: check-env go-lint lint-extras gosec
|
||||
|
||||
go-test: TEST_COVERAGE ?= $(shell . $(CURDIR)/build.env ; echo $${TEST_COVERAGE})
|
||||
go-test: GO_COVER_DIR ?= $(shell . $(CURDIR)/build.env ; echo $${GO_COVER_DIR})
|
||||
go-test: check-env
|
||||
./scripts/test-go.sh
|
||||
TEST_COVERAGE=$(TEST_COVERAGE) GO_COVER_DIR=$(GO_COVER_DIR) ./scripts/test-go.sh
|
||||
|
||||
mod-check: check-env
|
||||
@echo 'running: go mod verify'
|
||||
|
Reference in New Issue
Block a user