mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-06-03 02:55:33 +00:00
log info on venv activation (#375)
Some checks failed
test / test-pyproject-file-version (push) Successful in 15s
test / test-default-version (ubuntu-latest) (push) Successful in 27s
test / test-specific-version (>=0.3.0) (push) Successful in 39s
Release Drafter / ✏️ Draft release (push) Failing after 54s
CodeQL / Analyze (TypeScript) (push) Failing after 7m37s
test / test-no-python-version (push) Failing after 13m35s
test / test-setup-cache-dependency-glob (push) Failing after 13m35s
test / test-setup-cache-requirements-txt (push) Failing after 13m36s
test / test-setup-cache (true, ubuntu-latest) (push) Failing after 13m37s
test / test-setup-cache (false, ubuntu-latest) (push) Failing after 13m39s
test / test-setup-cache (auto, ubuntu-latest) (push) Failing after 13m40s
test / test-musl (push) Failing after 13m41s
test / test-python-version (windows-latest) (push) Failing after 13m43s
test / test-python-version (ubuntu-latest) (push) Failing after 13m43s
test / test-python-version (macos-latest) (push) Failing after 13m44s
test / test-tool-install (ubuntu-latest) (push) Failing after 13m45s
test / test-uvx (push) Failing after 13m47s
test / test-with-explicit-token (push) Failing after 13m48s
test / test-checksum (map[checksum:4d9279ad5ca596b1e2d703901d508430eb07564dc4d8837de9e2fca9c90f8ecd os:ubuntu-latest]) (push) Failing after 13m48s
test / test-uv-file-version (push) Failing after 13m50s
test / test-malformed-pyproject-file-fallback (push) Failing after 13m53s
test / test-specific-version (0.3) (push) Successful in 14m12s
test / test-pep440-version (push) Failing after 13m53s
test / test-semver-range (ubuntu-latest) (push) Failing after 13m54s
test / test-specific-version (0.3.x) (push) Failing after 13m56s
test / test-specific-version (0.3.2) (push) Failing after 13m59s
test / test-specific-version (0.3.0) (push) Failing after 14m0s
test / test-restore-cache-dependency-glob (push) Has been skipped
test / lint (push) Successful in 35m24s
test / test-default-version (macos-14) (push) Has been cancelled
test / test-default-version (macos-latest) (push) Has been cancelled
test / test-default-version (windows-latest) (push) Has been cancelled
test / test-semver-range (selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-checksum (map[checksum:a70cbfbf3bb5c08b2f84963b4f12c94e08fbb2468ba418a3bfe1066fbe9e7218 os:macos-latest]) (push) Has been cancelled
test / test-tool-install (macos-14) (push) Has been cancelled
test / test-tool-install (macos-latest) (push) Has been cancelled
test / test-tool-install (windows-latest) (push) Has been cancelled
test / test-tilde-expansion-tool-dirs (push) Has been cancelled
test / test-setup-cache (auto, selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-setup-cache (auto, windows-latest) (push) Has been cancelled
test / test-setup-cache (false, selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-setup-cache (false, windows-latest) (push) Has been cancelled
test / test-setup-cache (true, selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-setup-cache (true, windows-latest) (push) Has been cancelled
test / test-setup-cache-local (push) Has been cancelled
test / test-tilde-expansion-cache-local-path (push) Has been cancelled
test / test-tilde-expansion-cache-dependency-glob (push) Has been cancelled
test / test-restore-cache (auto, selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-restore-cache (auto, ubuntu-latest) (push) Has been cancelled
test / test-restore-cache (auto, windows-latest) (push) Has been cancelled
test / test-restore-cache (false, selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-restore-cache (false, ubuntu-latest) (push) Has been cancelled
test / test-restore-cache (false, windows-latest) (push) Has been cancelled
test / test-restore-cache (true, selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-restore-cache (true, ubuntu-latest) (push) Has been cancelled
test / test-restore-cache (true, windows-latest) (push) Has been cancelled
test / test-restore-cache-requirements-txt (push) Has been cancelled
test / test-restore-cache-local (push) Has been cancelled
test / cleanup-tilde-expansion-tests (push) Has been cancelled
test / all-tests-passed (push) Has been cancelled
Update known checksums / build (push) Failing after 11m14s
Some checks failed
test / test-pyproject-file-version (push) Successful in 15s
test / test-default-version (ubuntu-latest) (push) Successful in 27s
test / test-specific-version (>=0.3.0) (push) Successful in 39s
Release Drafter / ✏️ Draft release (push) Failing after 54s
CodeQL / Analyze (TypeScript) (push) Failing after 7m37s
test / test-no-python-version (push) Failing after 13m35s
test / test-setup-cache-dependency-glob (push) Failing after 13m35s
test / test-setup-cache-requirements-txt (push) Failing after 13m36s
test / test-setup-cache (true, ubuntu-latest) (push) Failing after 13m37s
test / test-setup-cache (false, ubuntu-latest) (push) Failing after 13m39s
test / test-setup-cache (auto, ubuntu-latest) (push) Failing after 13m40s
test / test-musl (push) Failing after 13m41s
test / test-python-version (windows-latest) (push) Failing after 13m43s
test / test-python-version (ubuntu-latest) (push) Failing after 13m43s
test / test-python-version (macos-latest) (push) Failing after 13m44s
test / test-tool-install (ubuntu-latest) (push) Failing after 13m45s
test / test-uvx (push) Failing after 13m47s
test / test-with-explicit-token (push) Failing after 13m48s
test / test-checksum (map[checksum:4d9279ad5ca596b1e2d703901d508430eb07564dc4d8837de9e2fca9c90f8ecd os:ubuntu-latest]) (push) Failing after 13m48s
test / test-uv-file-version (push) Failing after 13m50s
test / test-malformed-pyproject-file-fallback (push) Failing after 13m53s
test / test-specific-version (0.3) (push) Successful in 14m12s
test / test-pep440-version (push) Failing after 13m53s
test / test-semver-range (ubuntu-latest) (push) Failing after 13m54s
test / test-specific-version (0.3.x) (push) Failing after 13m56s
test / test-specific-version (0.3.2) (push) Failing after 13m59s
test / test-specific-version (0.3.0) (push) Failing after 14m0s
test / test-restore-cache-dependency-glob (push) Has been skipped
test / lint (push) Successful in 35m24s
test / test-default-version (macos-14) (push) Has been cancelled
test / test-default-version (macos-latest) (push) Has been cancelled
test / test-default-version (windows-latest) (push) Has been cancelled
test / test-semver-range (selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-checksum (map[checksum:a70cbfbf3bb5c08b2f84963b4f12c94e08fbb2468ba418a3bfe1066fbe9e7218 os:macos-latest]) (push) Has been cancelled
test / test-tool-install (macos-14) (push) Has been cancelled
test / test-tool-install (macos-latest) (push) Has been cancelled
test / test-tool-install (windows-latest) (push) Has been cancelled
test / test-tilde-expansion-tool-dirs (push) Has been cancelled
test / test-setup-cache (auto, selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-setup-cache (auto, windows-latest) (push) Has been cancelled
test / test-setup-cache (false, selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-setup-cache (false, windows-latest) (push) Has been cancelled
test / test-setup-cache (true, selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-setup-cache (true, windows-latest) (push) Has been cancelled
test / test-setup-cache-local (push) Has been cancelled
test / test-tilde-expansion-cache-local-path (push) Has been cancelled
test / test-tilde-expansion-cache-dependency-glob (push) Has been cancelled
test / test-restore-cache (auto, selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-restore-cache (auto, ubuntu-latest) (push) Has been cancelled
test / test-restore-cache (auto, windows-latest) (push) Has been cancelled
test / test-restore-cache (false, selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-restore-cache (false, ubuntu-latest) (push) Has been cancelled
test / test-restore-cache (false, windows-latest) (push) Has been cancelled
test / test-restore-cache (true, selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-restore-cache (true, ubuntu-latest) (push) Has been cancelled
test / test-restore-cache (true, windows-latest) (push) Has been cancelled
test / test-restore-cache-requirements-txt (push) Has been cancelled
test / test-restore-cache-local (push) Has been cancelled
test / cleanup-tilde-expansion-tests (push) Has been cancelled
test / all-tests-passed (push) Has been cancelled
Update known checksums / build (push) Failing after 11m14s
Make sure we get more info by default instead of just exiting with 1 Contributes to: #374
This commit is contained in:
parent
d4b2f3b6ec
commit
fb3a0a97fa
5
dist/setup/index.js
generated
vendored
5
dist/setup/index.js
generated
vendored
@ -124394,12 +124394,9 @@ async function setupPython() {
|
||||
if (inputs_1.pythonVersion !== "") {
|
||||
core.exportVariable("UV_PYTHON", inputs_1.pythonVersion);
|
||||
core.info(`Set UV_PYTHON to ${inputs_1.pythonVersion}`);
|
||||
const options = {
|
||||
silent: !core.isDebug(),
|
||||
};
|
||||
const execArgs = ["venv", "--python", inputs_1.pythonVersion];
|
||||
core.info("Activating python venv...");
|
||||
await exec.exec("uv", execArgs, options);
|
||||
await exec.exec("uv", execArgs);
|
||||
let venvBinPath = ".venv/bin";
|
||||
if (process.platform === "win32") {
|
||||
venvBinPath = ".venv/Scripts";
|
||||
|
@ -167,13 +167,10 @@ async function setupPython(): Promise<void> {
|
||||
if (pythonVersion !== "") {
|
||||
core.exportVariable("UV_PYTHON", pythonVersion);
|
||||
core.info(`Set UV_PYTHON to ${pythonVersion}`);
|
||||
const options: exec.ExecOptions = {
|
||||
silent: !core.isDebug(),
|
||||
};
|
||||
const execArgs = ["venv", "--python", pythonVersion];
|
||||
|
||||
core.info("Activating python venv...");
|
||||
await exec.exec("uv", execArgs, options);
|
||||
await exec.exec("uv", execArgs);
|
||||
|
||||
let venvBinPath = ".venv/bin";
|
||||
if (process.platform === "win32") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user