Skip to content

Commit 6806df0

Browse files
committed
chore(makefile): Add makefile for tests
Add Makefile to reproduce the test commands used in the CI. A better approach for the future would be to use the exact makefile in the CI pipelines.
1 parent 2a71d49 commit 6806df0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
test.ci:
3+
go test ./... -coverprofile=./cover.out -covermode=atomic -race -count 2 -timeout 5m
4+
5+
test:
6+
go test ./... -coverprofile=./cover.out -covermode=atomic -race -count 1
7+
go test ./... -bench=. -benchmem -count 1 -timeout 1m

0 commit comments

Comments
 (0)