mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
update make test in Makefile
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
This commit is contained in:
parent
1b98106815
commit
5f1e2e1b7c
11
Makefile
11
Makefile
@ -25,9 +25,14 @@ $(info cephfs image settings: $(CEPHFS_IMAGE_NAME) version $(CEPHFS_IMAGE_VERSIO
|
|||||||
|
|
||||||
all: rbdplugin cephfsplugin
|
all: rbdplugin cephfsplugin
|
||||||
|
|
||||||
test:
|
test: go-test static-check
|
||||||
go test github.com/ceph/ceph-csi/pkg/... -cover
|
|
||||||
go vet github.com/ceph/ceph-csi/pkg/...
|
go-test:
|
||||||
|
./scripts/test-go.sh
|
||||||
|
|
||||||
|
static-check:
|
||||||
|
./scripts/lint-go.sh
|
||||||
|
./scripts/lint-text.sh
|
||||||
|
|
||||||
rbdplugin:
|
rbdplugin:
|
||||||
if [ ! -d ./vendor ]; then dep ensure -vendor-only; fi
|
if [ ! -d ./vendor ]; then dep ensure -vendor-only; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user