Skip to content

Commit bd42cbb

Browse files
Merge pull request #121 from Create-Python-App/fix/62-smoke-dist
ci: distribution smoke tests workflow (#62)
2 parents d9b32f4 + d2b47f0 commit bd42cbb

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Distribution smoke tests
2+
on:
3+
schedule:
4+
- cron: "0 6 * * *"
5+
workflow_dispatch:
6+
permissions:
7+
contents: read
8+
jobs:
9+
uvx:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: astral-sh/setup-uv@v6
13+
- name: Smoke uvx (when published)
14+
run: |
15+
if uvx create-awesome-python-app@latest --help; then
16+
echo ok
17+
else
18+
echo "Package not on PyPI yet — soft fail"
19+
exit 0
20+
fi
21+
docker:
22+
runs-on: ubuntu-latest
23+
continue-on-error: true
24+
steps:
25+
- run: echo "Docker smoke activates after first image publish"

0 commit comments

Comments
 (0)