ci: avoid running qlty coverage report for prs

Signed-off-by: Jan Larwig <jan@larwig.com>
This commit is contained in:
Jan Larwig 2026-01-18 01:01:53 +01:00
parent dcc7970a5f
commit 6838c6b9d9
No known key found for this signature in database
GPG Key ID: C2172BFA220A037A
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