chore: fix test coverage (#26066)

This commit is contained in:
Blaž Dular 2025-12-18 09:32:36 +01:00 • committed by GitHub
parent 98c096450e
commit 4d65d98dd8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,6 +7,9 @@ on:
pull_request:
workflow_call:
env:
COVERAGE_ARTIFACT_NAME: code-coverage
jobs:
clean:
name: Clean
@ -120,7 +123,7 @@ jobs:
- uses: actions/upload-artifact@v5
if: ${{ !cancelled() }}
with:
name: code-coverage-${{ github.sha }}
name: ${{ env.COVERAGE_ARTIFACT_NAME }}
path: coverage.out
retention-days: 14
@ -299,5 +302,5 @@ jobs:
- uses: fgrosse/go-coverage-report@v1.1.1
with:
coverage-artifact-name: code-coverage-${{ github.sha }}
coverage-artifact-name: ${{ env.COVERAGE_ARTIFACT_NAME }}
coverage-file-name: coverage.out