File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
openshift/default-catalog-consistency Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,22 @@ help: #HELP Display essential help.
23
23
24
24
# SECTION Tests
25
25
26
+ # Set the Ginkgo binary path. Assumes it's installed via `go install`
27
+ GOBIN ?= $(shell go env GOBIN)
28
+ ifeq ($(GOBIN ) ,)
29
+ GOBIN := $(shell go env GOPATH) /bin
30
+ endif
31
+
32
+ GINKGO := $(GOBIN ) /ginkgo
33
+
34
+ $(GINKGO ) :
35
+ go install github.com/onsi/ginkgo/v2/
[email protected]
36
+
26
37
.PHONY : test-catalog
27
- test-catalog : # HELP Run the set of tests to validate the quality of catalogs
28
- E2E_GINKGO_OPTS=" $( if $( ARTIFACT_DIR) ,--output-dir=' $(ARTIFACT_DIR)' ) --junit-report junit_e2e.xml" \
29
- go test -count=1 -v ./test/validate/...;
38
+ test-catalog : $(GINKGO ) # HELP Run the set of tests to validate the quality of catalogs
39
+ $(GINKGO ) $(if $(ARTIFACT_DIR ) ,--output-dir='$(ARTIFACT_DIR ) ') \
40
+ --junit-report=junit_olm.xml ./test/validate/...
41
+
30
42
31
43
# SECTION Development
32
44
You can’t perform that action at this time.
0 commit comments