fix: make uv-managed CI env compatible with platformio pip checks
This commit is contained in:
@@ -23,7 +23,7 @@ runs:
|
||||
shell: bash
|
||||
run: |
|
||||
uv sync --locked --no-group docs
|
||||
uv venv --allow-existing --seed
|
||||
uv pip install --python .venv/bin/python pip setuptools wheel
|
||||
echo "$GITHUB_WORKSPACE/.venv/bin" >> "$GITHUB_PATH"
|
||||
|
||||
# Recommended EastMesh tag format:
|
||||
|
||||
@@ -9,15 +9,15 @@ require_uv() {
|
||||
|
||||
sync_python_tooling() {
|
||||
uv sync --locked --no-group docs >/dev/null
|
||||
uv venv --allow-existing --seed >/dev/null
|
||||
uv pip install --python .venv/bin/python pip setuptools wheel >/dev/null
|
||||
}
|
||||
|
||||
run_python() {
|
||||
uv run --no-sync python "$@"
|
||||
.venv/bin/python "$@"
|
||||
}
|
||||
|
||||
run_pio() {
|
||||
uv run --no-sync pio "$@"
|
||||
.venv/bin/pio "$@"
|
||||
}
|
||||
|
||||
global_usage() {
|
||||
|
||||
Reference in New Issue
Block a user