Remove race-test command from Makefile
This commit is contained in:
parent
3f8dafd9e8
commit
0ad87c6ff6
@ -22,4 +22,3 @@ script:
|
||||
- diff <(goimports -d .) <(echo -n "")
|
||||
- make lint
|
||||
- make test
|
||||
- make race-test
|
||||
|
8
Makefile
8
Makefile
@ -19,18 +19,14 @@ lint: ## Run golint and go vet.
|
||||
@go vet .
|
||||
|
||||
.PHONY: test
|
||||
test: ## Run the tests.
|
||||
@go test .
|
||||
test: ## Run the tests with race condition checking.
|
||||
@go test -race .
|
||||
|
||||
.PHONY: coverage
|
||||
cover: ## Run the tests.
|
||||
@go test -coverprofile=coverage.o
|
||||
@go tool cover -func=coverage.o
|
||||
|
||||
.PHONY: race-test
|
||||
race-test: ## Checking the race condition.
|
||||
@go test -race .
|
||||
|
||||
.PHONY: help
|
||||
help: ## Show help text
|
||||
@echo "Commands:"
|
||||
|
Loading…
Reference in New Issue
Block a user