👷 Update Smokeshow download artifact GitHub Action (#1198)

This commit is contained in:
Sebastián Ramírez
2024-05-10 11:21:52 -07:00
committed by GitHub
parent a7f4d7dd61
commit f9a1ac7b1c

View File

@@ -20,13 +20,14 @@ jobs:
- run: pip install smokeshow - run: pip install smokeshow
- uses: dawidd6/action-download-artifact@v3.1.4 - uses: actions/download-artifact@v4
with: with:
workflow: test.yml name: coverage-html
commit: ${{ github.event.workflow_run.head_sha }} path: backend/htmlcov
github_token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}
- run: smokeshow upload coverage-html - run: smokeshow upload backend/htmlcov
env: env:
SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage} SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage}
SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 90 SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 90