mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Makefile: fix test-go to run all (#85048)
This commit is contained in:
3
Makefile
3
Makefile
@@ -174,11 +174,10 @@ run-frontend: deps-js ## Fetch js dependencies and watch frontend for rebuild
|
|||||||
.PHONY: test-go
|
.PHONY: test-go
|
||||||
test-go: test-go-unit test-go-integration
|
test-go: test-go-unit test-go-integration
|
||||||
|
|
||||||
### TODO: temporarily run only the failing test (fails in PR only)
|
|
||||||
.PHONY: test-go-unit
|
.PHONY: test-go-unit
|
||||||
test-go-unit: ## Run unit tests for backend with flags.
|
test-go-unit: ## Run unit tests for backend with flags.
|
||||||
@echo "test backend unit tests"
|
@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
|
$(GO) test -short -covermode=atomic -timeout=30m
|
||||||
|
|
||||||
.PHONY: test-go-integration
|
.PHONY: test-go-integration
|
||||||
|
|||||||
Reference in New Issue
Block a user