File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout code
15+ uses : actions/checkout@v5
16+
17+ - name : Set up Go
18+ uses : actions/setup-go@v6
19+
20+ - name : Run tests
21+ run : make test
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ vet: ## Run go vet against code.
127127
128128.PHONY : test
129129test : manifests generate fmt vet envtest # # Run tests.
130- KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) --bin-dir $( LOCALBIN) -p path) " go test $$(go list ./... | grep -v /e2e ) -coverprofile cover.out
130+ KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) --bin-dir $( LOCALBIN) -p path --use-deprecated-gcs=false ) " go test $$(go list ./... | grep -v /e2e ) -coverprofile cover.out
131131
132132# Utilize Kind or modify the e2e tests to load the image locally, enabling compatibility with other vendors.
133133.PHONY : test-e2e # Run the e2e tests against a Kind k8s instance that is spun up.
You can’t perform that action at this time.
0 commit comments