File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 3636 - name : Build
3737 if : steps.cache-build.outputs.cache-hit != 'true'
3838 run : make
39+ - name : Run Unit Tests
40+ run : make go-unit-test
3941 - name : Run Integration Tests
4042 run : make test-parallel
4143 - name : Generate code coverage artifacts
Original file line number Diff line number Diff line change @@ -82,8 +82,8 @@ vet: ## Run go vet against code.
8282test : manifests generate fmt vet envtest # # Run tests.
8383 KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) --bin-dir $( LOCALBIN) -p path) " go test $$(go list ./... | grep -v /e2e ) -coverprofile cover.out
8484
85- .PHONY : test-exclude-controllers
86- test-exclude-controllers : # # Run tests, excluding TestControllersGinkgo
85+ .PHONY : go-unit-test
86+ go-unit-test : # # Run unit tests
8787 @echo " Running tests excluding TestControllersGinkgo..."
8888 @go test $$(go test ./... -list . | grep -v "^ok" | grep -v "TestControllersGinkgo" )
8989
You can’t perform that action at this time.
0 commit comments