ci: avoid running qlty coverage report for PRs (#3316)

Signed-off-by: Jan Larwig <jan@larwig.com>
This commit is contained in:
Jan Larwig 2026-01-18 01:05:54 +01:00 committed by GitHub
parent dcc7970a5f
commit d5ea33bea7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 5 deletions

View File

@ -33,10 +33,6 @@ jobs:
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
- name: Install gcov2lcov
run: |
go install github.com/jandelgado/gcov2lcov@latest
- name: Verify Code Generation
run: |
make verify-generate
@ -61,10 +57,14 @@ jobs:
make test
- name: Generate Coverage Report
if: github.event_name == 'push'
run: |
go install github.com/jandelgado/gcov2lcov@latest
gcov2lcov -infile=c.out -outfile=lcov.info
- uses: qltysh/qlty-action/coverage@v2
- name: Upload Coverage Report
if: github.event_name == 'push'
uses: qltysh/qlty-action/coverage@v2
with:
oidc: true
files: lcov.info