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 "")
|
- diff <(goimports -d .) <(echo -n "")
|
||||||
- make lint
|
- make lint
|
||||||
- make test
|
- make test
|
||||||
- make race-test
|
|
||||||
|
8
Makefile
8
Makefile
@ -19,18 +19,14 @@ lint: ## Run golint and go vet.
|
|||||||
@go vet .
|
@go vet .
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test: ## Run the tests.
|
test: ## Run the tests with race condition checking.
|
||||||
@go test .
|
@go test -race .
|
||||||
|
|
||||||
.PHONY: coverage
|
.PHONY: coverage
|
||||||
cover: ## Run the tests.
|
cover: ## Run the tests.
|
||||||
@go test -coverprofile=coverage.o
|
@go test -coverprofile=coverage.o
|
||||||
@go tool cover -func=coverage.o
|
@go tool cover -func=coverage.o
|
||||||
|
|
||||||
.PHONY: race-test
|
|
||||||
race-test: ## Checking the race condition.
|
|
||||||
@go test -race .
|
|
||||||
|
|
||||||
.PHONY: help
|
.PHONY: help
|
||||||
help: ## Show help text
|
help: ## Show help text
|
||||||
@echo "Commands:"
|
@echo "Commands:"
|
||||||
|
Loading…
Reference in New Issue
Block a user