mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-08-30 18:28:59 +00:00
go back to filtering tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user