go back to filtering tests

This commit is contained in:
Joel Wetzell
2026-08-28 14:07:09 -05:00
parent 6f71797ac8
commit 252662db9f
+5 -2
View File
@@ -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