chore: fix test coverage (#26066)
This commit is contained in:
parent
98c096450e
commit
4d65d98dd8
1 changed files with 5 additions and 2 deletions
7
.github/workflows/default.yml
vendored
7
.github/workflows/default.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue