From c34c5ff5054ef78be5c55504275d84a074dc2e97 Mon Sep 17 00:00:00 2001 From: Ben Kraft Date: Fri, 23 Apr 2021 18:18:07 -0700 Subject: [PATCH] Turn on test coverage in Makefile/actions --- .github/workflows/go.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index a651c29..1dbe995 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -29,4 +29,4 @@ jobs: # Needed for the example-test to run. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - go test -v ./... + go test -cover -v ./... diff --git a/Makefile b/Makefile index 120e2e1..89c6773 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ example: go run ./example/cmd/example/main.go check: - go test ./... + go test -cover ./... genqlient.png: genqlient.svg convert -density 600 -background transparent "$<" "$@"