File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Package Install
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches : [main]
7+ workflow_dispatch :
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ install-smoke-test :
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - uses : actions/checkout@v4
18+
19+ - name : Set up Python
20+ uses : actions/setup-python@v5
21+ with :
22+ python-version : " 3.11"
23+
24+ - name : Install uv
25+ run : |
26+ curl -LsSf https://astral.sh/uv/install.sh | sh
27+ echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
28+
29+ - name : Build wheel
30+ run : uv build --wheel --out-dir dist
31+
32+ - name : Smoke test uv add + sync for backend extra
33+ run : |
34+ wheel_path="$(python - <<'PY'
35+ from pathlib import Path
36+
37+ print(next(Path("dist").glob("openpipe_art-*.whl")).resolve())
38+ PY
39+ )"
40+
41+ project_dir="$(mktemp -d)"
42+ cd "$project_dir"
43+ uv init --name art-install-smoke --python 3.11 --bare
44+ uv add "openpipe-art[backend] @ file://${wheel_path}"
45+ uv sync
You can’t perform that action at this time.
0 commit comments