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