Add venv/bin as absolute path to PATH (#241)
Some checks failed
test-cache-windows / test-setup-cache (push) Waiting to run
test-cache-windows / test-restore-cache (push) Blocked by required conditions
test-cache / test-setup-cache (auto, selfhosted-ubuntu-arm64) (push) Waiting to run
test-cache / test-setup-cache (false, selfhosted-ubuntu-arm64) (push) Waiting to run
test-cache / test-setup-cache (true, selfhosted-ubuntu-arm64) (push) Waiting to run
test-cache / test-restore-cache (auto, selfhosted-ubuntu-arm64) (push) Blocked by required conditions
test-cache / test-restore-cache (auto, ubuntu-latest) (push) Blocked by required conditions
test-cache / test-restore-cache (false, selfhosted-ubuntu-arm64) (push) Blocked by required conditions
test-cache / test-restore-cache (false, ubuntu-latest) (push) Blocked by required conditions
test-cache / test-restore-cache (true, selfhosted-ubuntu-arm64) (push) Blocked by required conditions
test-cache / test-restore-cache (true, ubuntu-latest) (push) Blocked by required conditions
test-cache / test-restore-cache-requirements-txt (push) Blocked by required conditions
test-cache / test-setup-cache-local (push) Waiting to run
test-cache / test-restore-cache-local (push) Blocked by required conditions
test-cache / test-tilde-expansion-cache-local-path (push) Waiting to run
test-cache / test-tilde-expansion-cache-dependency-glob (push) Waiting to run
test-cache / cleanup-tilde-expansion-tests (push) Blocked by required conditions
test-windows / test-default-version (push) Waiting to run
test / test-default-version (macos-14) (push) Waiting to run
test / test-default-version (macos-latest) (push) Waiting to run
test / test-checksum (a70cbfbf3bb5c08b2f84963b4f12c94e08fbb2468ba418a3bfe1066fbe9e7218, macos-latest) (push) Waiting to run
test / test-tool-install (macos-14) (push) Waiting to run
test / test-tool-install (macos-latest) (push) Waiting to run
test / test-tool-install (windows-latest) (push) Waiting to run
test / test-tilde-expansion-tool-dirs (push) Waiting to run
CodeQL / Analyze (TypeScript) (push) Failing after 29s
Release Drafter / ✏️ Draft release (push) Failing after 9s
Check dist/ / check-dist (push) Successful in 45s
test-cache / test-setup-cache (auto, ubuntu-latest) (push) Failing after 9s
test-cache / test-setup-cache (false, ubuntu-latest) (push) Failing after 10s
test-cache / test-setup-cache (true, ubuntu-latest) (push) Failing after 9s
test-cache / test-setup-cache-requirements-txt (push) Failing after 23s
test-cache / test-setup-cache-dependency-glob (push) Failing after 19s
test-cache / test-restore-cache-dependency-glob (push) Has been skipped
test-cache / test-no-python-version (push) Failing after 30s
test / test-default-version (ubuntu-latest) (push) Failing after 21s
test / build (push) Successful in 1m14s
test / test-specific-version (0.3) (push) Failing after 21s
test / test-specific-version (0.3.2) (push) Successful in 37s
test / test-specific-version (0.3.0) (push) Successful in 37s
test / test-specific-version (>=0.3.0) (push) Failing after 26s
test / test-specific-version (0.3.x) (push) Failing after 27s
test / test-semver-range (push) Failing after 20s
test / test-pyproject-file-version (push) Successful in 28s
test / test-uv-file-version (push) Successful in 29s
test / test-checksum (4d9279ad5ca596b1e2d703901d508430eb07564dc4d8837de9e2fca9c90f8ecd, ubuntu-latest) (push) Successful in 40s
test / test-with-explicit-token (push) Failing after 21s
test / test-uvx (push) Failing after 23s
test / test-tool-install (ubuntu-latest) (push) Failing after 20s
test / test-python-version (macos-latest) (push) Failing after 26s
test / test-python-version (ubuntu-latest) (push) Failing after 25s
test / test-python-version (windows-latest) (push) Failing after 18s

Fixes: #239
This commit is contained in:
Kevin Stillhammer 2025-01-16 10:14:32 +01:00 committed by GitHub
parent 2487ffc9aa
commit 4e3dbecc19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 1 deletions

BIN
dist/setup/index.js generated vendored

Binary file not shown.

View File

@ -161,7 +161,7 @@ async function setupPython(): Promise<void> {
if (process.platform === "win32") {
venvBinPath = ".venv/Scripts";
}
core.addPath(venvBinPath);
core.addPath(path.resolve(venvBinPath));
core.exportVariable("VIRTUAL_ENV", path.resolve(".venv"));
}
}