Skip to content

Commit fae2371

Browse files
committed
use uv to download smokeshow in ci
1 parent ecb537e commit fae2371

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/coverage.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,11 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/setup-python@v5
16+
- uses: astral-sh/setup-uv@v5
1717
with:
18+
enable-cache: true
1819
python-version: '3.12'
1920

20-
- run: pip install 'smokeshow>=0.5'
21-
2221
- uses: dawidd6/action-download-artifact@v6
2322
with:
2423
workflow: ci.yml
@@ -27,7 +26,7 @@ jobs:
2726
workflow_conclusion: completed
2827
if_no_artifact_found: warn
2928

30-
- run: smokeshow upload coverage-html
29+
- run: uvx smokeshow upload coverage-html
3130
if: hashFiles('coverage-html/*.html') != ''
3231
env:
3332
SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage}
@@ -37,7 +36,7 @@ jobs:
3736
SMOKESHOW_GITHUB_PR_HEAD_SHA: ${{ github.event.workflow_run.head_sha }}
3837
SMOKESHOW_AUTH_KEY: ${{ secrets.SMOKESHOW_AUTH_KEY }}
3938

40-
- run: smokeshow upload diff-coverage-html
39+
- run: uvx smokeshow upload diff-coverage-html
4140
if: hashFiles('diff-coverage-html/*.html') != ''
4241
env:
4342
SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Diff coverage {coverage-percentage}

0 commit comments

Comments
 (0)