diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 38b11d67..1d6e8cb0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -53,7 +53,7 @@ jobs: with: go-version: ${{ env.GO_VERSION }} - name: Run Unit tests. - run: go test $(go list ./... | grep -v /cmd/ | grep -v /bind/) -v -covermode=count -coverprofile=coverage.txt + run: go test -v -coverpkg=$(go list ./... | grep -v /cmd/ | grep -v /bind/ | paste -sd "," -) -covermode=count -coverprofile=coverage.txt $(go list ./... | grep -v /cmd/ | grep -v /bind/) - uses: codecov/codecov-action@v4 with: files: ./coverage.txt