mirror of
https://github.com/prymitive/karma
synced 2026-05-05 03:16:51 +00:00
chore(tests): move benchmarks to a dedicated make target
This commit is contained in:
5
Makefile
5
Makefile
@@ -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 \
|
||||
./...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user