Skip to content

Commit

Permalink
use uv to download smokeshow in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Jan 7, 2025
1 parent ecb537e commit fae2371
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/setup-python@v5
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
python-version: '3.12'

- run: pip install 'smokeshow>=0.5'

- uses: dawidd6/action-download-artifact@v6
with:
workflow: ci.yml
Expand All @@ -27,7 +26,7 @@ jobs:
workflow_conclusion: completed
if_no_artifact_found: warn

- run: smokeshow upload coverage-html
- run: uvx smokeshow upload coverage-html
if: hashFiles('coverage-html/*.html') != ''
env:
SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage}
Expand All @@ -37,7 +36,7 @@ jobs:
SMOKESHOW_GITHUB_PR_HEAD_SHA: ${{ github.event.workflow_run.head_sha }}
SMOKESHOW_AUTH_KEY: ${{ secrets.SMOKESHOW_AUTH_KEY }}

- run: smokeshow upload diff-coverage-html
- run: uvx smokeshow upload diff-coverage-html
if: hashFiles('diff-coverage-html/*.html') != ''
env:
SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Diff coverage {coverage-percentage}
Expand Down

0 comments on commit fae2371

Please sign in to comment.