Makefile: fix test-go to run all (#85048)

This commit is contained in:
Charandas 2024-03-25 00:49:36 -07:00 committed by GitHub
parent 6c6b93d8e0
commit 2f5be54252
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -174,11 +174,10 @@ run-frontend: deps-js ## Fetch js dependencies and watch frontend for rebuild
.PHONY: test-go
test-go: test-go-unit test-go-integration
### TODO: temporarily run only the failing test (fails in PR only)
.PHONY: test-go-unit
test-go-unit: ## Run unit tests for backend with flags.
@echo "test backend unit tests"
go list -f '{{.Dir}}/...' ./pkg/apiserver/storage/file | xargs \
go list -f '{{.Dir}}/...' -m | xargs \
$(GO) test -short -covermode=atomic -timeout=30m
.PHONY: test-go-integration