Skip to content

Commit b2589d9

Browse files
viraatcclaude
andcommitted
fix: address final PR review comments
- Widen uv-lock-check pre-commit files selector to also trigger on uv.lock changes - Add wheel build + smoke test CI job to catch packaging regressions Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2761e23 commit b2589d9

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,25 @@ jobs:
3131
coverage.xml
3232
htmlcov/
3333
34+
build:
35+
runs-on: ubuntu-latest
36+
steps:
37+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
38+
39+
- name: Install uv
40+
uses: astral-sh/setup-uv@e58605a9b6da7c637471fab8847a5e5a6b8df081 # v5
41+
with:
42+
python-version-file: .python-version
43+
44+
- name: Build wheel
45+
run: uv build
46+
47+
- name: Install from wheel and smoke test
48+
run: |
49+
uv venv /tmp/smoke-test
50+
uv pip install --python /tmp/smoke-test/bin/python dist/*.whl
51+
/tmp/smoke-test/bin/inference-endpoint --help
52+
3453
audit:
3554
runs-on: ubuntu-latest
3655
steps:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,4 @@ repos:
6969
language: python
7070
additional_dependencies: ["uv==0.7.6"]
7171
pass_filenames: false
72-
files: ^pyproject\.toml$
72+
files: ^(pyproject\.toml|uv\.lock)$

0 commit comments

Comments
 (0)