From b627e361379b89802df4930abbc64ce26bd8f323 Mon Sep 17 00:00:00 2001 From: Dmitriy Shirchenko Date: Mon, 17 May 2021 15:14:22 -0700 Subject: Set up CI (#45) Set up CI with GitHub actions. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index efa0d0a..7264206 100644 --- a/Makefile +++ b/Makefile @@ -38,6 +38,11 @@ pretest: lint vet staticcheck test: pretest go test -race ./... +.PHONY: cover +cover: + go test -coverprofile=cover.out -covermode=atomic -coverpkg=./... ./... + go tool cover -html=cover.out -o cover.html + .PHONY: clean clean: rm -rf _tmp -- cgit v1.2.3