From 252662db9f8f2a31076ef392b272e545225ad675 Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Fri, 28 Aug 2026 14:07:09 -0500 Subject: [PATCH] go back to filtering tests --- .github/workflows/test-showbridge.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-showbridge.yaml b/.github/workflows/test-showbridge.yaml index ffd7b48..de28a10 100644 --- a/.github/workflows/test-showbridge.yaml +++ b/.github/workflows/test-showbridge.yaml @@ -34,10 +34,13 @@ jobs: run: go mod tidy - name: run tests - run: go test -coverprofile coverage.out ./... + run: go test ./... -count=1 -coverpkg "github.com/jwetzell/showbridge-go/..." -coverprofile coverage.out + - name: clean up coverage report + run: cat coverage.out | grep -v "github.com/jwetzell/showbridge-go/cmd" > coverage.nocmd.out + - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v7 with: token: ${{ secrets.CODECOV_TOKEN }} - files: coverage.out + files: coverage.nocmd.out