File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ vet: ## Run go vet against code.
132
132
go vet ./...
133
133
134
134
.PHONY : test
135
- test : manifests generate fmt vet envtest image-build # # Run tests.
135
+ test : manifests generate fmt vet envtest image-build verify-crds # # Run tests.
136
136
CGO_ENABLED=1 KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) --bin-dir $( LOCALBIN) -p path) " go test $$(go list ./... | grep -v /e2e | grep -v /conformance ) -race -coverprofile cover.out
137
137
138
138
.PHONY : test-unit
@@ -163,6 +163,10 @@ ci-lint: golangci-lint
163
163
verify : vet fmt-verify manifests generate ci-lint verify-all
164
164
git --no-pager diff --exit-code config api client-go
165
165
166
+ .PHONY : verify-crds
167
+ verify-crds : kubectl-validate
168
+ hack/verify-manifests.sh
169
+
166
170
# Run static analysis.
167
171
.PHONY : verify-all
168
172
verify-all :
You can’t perform that action at this time.
0 commit comments