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:
parent
6c6b93d8e0
commit
2f5be54252
3
Makefile
3
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user