don't include internal/testutil in coverage report

This commit is contained in:
Tim Möhlmann 2023-03-03 19:05:26 +02:00
parent 7b613c63eb
commit 2b6c709ce7

View file

@ -24,7 +24,7 @@ jobs:
uses: actions/setup-go@v3 uses: actions/setup-go@v3
with: with:
go-version: ${{ matrix.go }} go-version: ${{ matrix.go }}
- run: go test -race -v -coverprofile=profile.cov -coverpkg=github.com/zitadel/oidc/... ./pkg/... - run: go test -race -v -coverprofile=profile.cov -coverpkg=./pkg/...,./example/... ./pkg/...
- uses: codecov/codecov-action@v3.1.1 - uses: codecov/codecov-action@v3.1.1
with: with:
file: ./profile.cov file: ./profile.cov