mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-19 19:17:02 -07:00
Changed test rule in Makefile to use specific tests
This commit is contained in:
parent
dd7bb5ec77
commit
997b7710b8
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
|
@ -83,7 +83,9 @@ lint: ## golangci-lint
|
|||
.PHONY: test
|
||||
test: ## go test
|
||||
$(call print-target)
|
||||
go test -race -covermode=atomic -coverprofile=coverage.out -coverpkg=./... ./...
|
||||
./emulator/setup.sh &
|
||||
sleep 10
|
||||
go test -race -covermode=atomic -coverprofile=coverage.out -coverpkg=./... tests/api_test.go tests/compatibility_test.go
|
||||
go tool cover -html=coverage.out -o coverage.html
|
||||
|
||||
.PHONY: diff
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue