fix(ci): use managed python for test workspace
Some checks failed
CI/CD Pipeline / Code Quality Checks (pull_request) Successful in 3m42s
CI/CD Pipeline / Code Quality Checks (push) Successful in 3m51s
CI/CD Pipeline / Run Tests (push) Successful in 5m44s
CI/CD Pipeline / Run Tests (pull_request) Successful in 5m43s
CI/CD Pipeline / Run API Inventory E2E Tests (pull_request) Failing after 38s
CI/CD Pipeline / Telegram Notify Success (pull_request) Has been skipped
CI/CD Pipeline / Run API Inventory E2E Tests (push) Failing after 1m55s
CI/CD Pipeline / Telegram Notify Success (push) Has been skipped
Some checks failed
CI/CD Pipeline / Code Quality Checks (pull_request) Successful in 3m42s
CI/CD Pipeline / Code Quality Checks (push) Successful in 3m51s
CI/CD Pipeline / Run Tests (push) Successful in 5m44s
CI/CD Pipeline / Run Tests (pull_request) Successful in 5m43s
CI/CD Pipeline / Run API Inventory E2E Tests (pull_request) Failing after 38s
CI/CD Pipeline / Telegram Notify Success (pull_request) Has been skipped
CI/CD Pipeline / Run API Inventory E2E Tests (push) Failing after 1m55s
CI/CD Pipeline / Telegram Notify Success (push) Has been skipped
This commit is contained in:
@@ -46,13 +46,8 @@ jobs:
|
||||
|
||||
timeout 180s "${BOOTSTRAP_PYTHON}" -m pip install --user --break-system-packages --upgrade pip uv
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
|
||||
if "${BOOTSTRAP_PYTHON}" -c 'import sys; raise SystemExit(0 if sys.version_info >= (3, 11) else 1)'; then
|
||||
PYTHON_BIN="${BOOTSTRAP_PYTHON}"
|
||||
else
|
||||
timeout 300s uv python install "${PYTHON_VERSION}"
|
||||
PYTHON_BIN="${PYTHON_VERSION}"
|
||||
fi
|
||||
timeout 300s uv python install "${PYTHON_VERSION}"
|
||||
PYTHON_BIN="$(uv python find --managed-python "${PYTHON_VERSION}")"
|
||||
|
||||
printf 'PYTHON_BIN=%s\n' "${PYTHON_BIN}" > .ci-python-env
|
||||
|
||||
@@ -137,13 +132,8 @@ jobs:
|
||||
|
||||
timeout 180s "${BOOTSTRAP_PYTHON}" -m pip install --user --break-system-packages --upgrade pip uv
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
|
||||
if "${BOOTSTRAP_PYTHON}" -c 'import sys; raise SystemExit(0 if sys.version_info >= (3, 11) else 1)'; then
|
||||
PYTHON_BIN="${BOOTSTRAP_PYTHON}"
|
||||
else
|
||||
timeout 300s uv python install "${PYTHON_VERSION}"
|
||||
PYTHON_BIN="${PYTHON_VERSION}"
|
||||
fi
|
||||
timeout 300s uv python install "${PYTHON_VERSION}"
|
||||
PYTHON_BIN="$(uv python find --managed-python "${PYTHON_VERSION}")"
|
||||
|
||||
printf 'PYTHON_BIN=%s\n' "${PYTHON_BIN}" > .ci-python-env
|
||||
|
||||
|
||||
Reference in New Issue
Block a user