diff --git a/.github/workflows/go_test.yml b/.github/workflows/go_test.yml index ceddd5c..9ad9755 100644 --- a/.github/workflows/go_test.yml +++ b/.github/workflows/go_test.yml @@ -28,8 +28,8 @@ jobs: with: version: v1.55.2 - name: test - run: make test + run: make test_coverage - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 - with: - token: ${{ secrets.CODECOV_TOKEN }} + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/Makefile b/Makefile index 0ce1139..eb78e2f 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,6 @@ test: test_coverage: @go test -race -v $(GO_FLAGS) -count=1 -coverprofile=coverage.out -covermode=atomic $(GO_PKGS) - @go tool cover -html coverage.out mocks: @go generate ./...