Skip to content

Commit

Permalink
Update quality.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
leducp authored Oct 31, 2024
1 parent 7514ee3 commit 32b6ec0
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,18 @@ jobs:
github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success'
steps:
- name: Create artifacts names
shell: bash
run: |
ARTIFACTS_SHA=$(git rev-parse HEAD)
COV_ARTIFACTS=coverage_${ARTIFACTS_SHA}
- name: Download coverage artifact
uses: dawidd6/action-download-artifact@v6
- name: 'Download artifact'
uses: actions/download-artifact@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
workflow: build.yml
name: ${{ env.COV_ARTIFACTS }}
path: build/coverage_xml.xml
pattern: coverage
github-token: ${{ secrets.GH_PAT }}
run-id: ${{ github.event.workflow_run.id }}

- name: coverage
uses: 5monkeys/cobertura-action@master
with:
path: coverage_xml.xml
path: build/coverage_xml.xml
minimum_coverage: 75
show_line: true
show_branch: true

0 comments on commit 32b6ec0

Please sign in to comment.