chore(tests): move benchmarks to a dedicated make target

This commit is contained in:
Łukasz Mierzwa
2019-10-15 15:37:13 +01:00
parent 8c82b9562d
commit 20adc69bbb

View File

@@ -138,10 +138,13 @@ lint-docs: .build/deps-build-node.ok
.PHONY: lint
lint: lint-go lint-js lint-docs
.PHONY: benchmark-go
benchmark-go:
GO111MODULE=on go test -run=NONE -bench=. -benchmem ./...
.PHONY: test-go
test-go:
GO111MODULE=on go test -v \
-bench=. -benchmem \
-cover -coverprofile=coverage.txt -covermode=atomic \
./...