From 971cfc271219a3aeb5d891c31474ce2cb6c343e1 Mon Sep 17 00:00:00 2001 From: Ruidy Date: Tue, 22 Feb 2022 18:12:42 -0400 Subject: [PATCH] verbose --- .github/workflows/tests.yaml | 4 ++-- Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index aa2f1d4..6cbbd36 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -12,8 +12,8 @@ jobs: - uses: actions/setup-go@v2 with: go-version: '1.17' - - name: Run coverage - run: go test -race -coverprofile=coverage.out -covermode=atomic + - name: Run tests with coverage + run: go test -race -coverprofile=coverage.out -covermode=atomic && cat ./coverage.out - uses: codecov/codecov-action@v2 with: token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos diff --git a/Makefile b/Makefile index 6556878..8e9b671 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,6 @@ web: cd client && npm run start test: - go test -json -count=1 ./... -coverpkg=./... -coverprofile coverage.out -covermode=atomic | gotestfmt && go tool cover -html coverage.outt && rm coverage.outt + go test -json -count=1 ./... -coverpkg=./... -coverprofile coverage.out -covermode=atomic | gotestfmt # && go tool cover -html coverage.out && rm coverage.out .PHONY: lint run dev run-web test build