From 20adc69bbb6d73282c9c2657737ca2865aab2c73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Tue, 15 Oct 2019 15:37:13 +0100 Subject: [PATCH] chore(tests): move benchmarks to a dedicated make target --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1b2436d19..e3dab2ad5 100644 --- a/Makefile +++ b/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 \ ./...