From c22e5eb9121b5d4532bc69f7254625d6833f847d Mon Sep 17 00:00:00 2001 From: sgerhardt Date: Wed, 24 Jul 2024 14:45:22 -0500 Subject: [PATCH] try filtering --- .github/workflows/go-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/go-ci.yml b/.github/workflows/go-ci.yml index 4595aaf..01d63af 100644 --- a/.github/workflows/go-ci.yml +++ b/.github/workflows/go-ci.yml @@ -34,6 +34,8 @@ jobs: - name: Run tests and generate coverage report run: | go test -coverprofile=coverage.out ./... + grep -v "/internal/client/mocks" coverage.out > coverage_filtered.out + mv coverage_filtered.out coverage.out go tool cover -func=coverage.out - name: Upload coverage reports to Codecov