Skip to content

Commit 4a16bc5

Browse files
committed
uv
1 parent c2ec1c2 commit 4a16bc5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.lightning/workflows/benchmark.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ run: |
4040
ln -sf /usr/bin/python${python_version} /usr/bin/python
4141
curl -LsSf https://astral.sh/uv/install.sh | sh
4242
43+
# Source the environment and ensure UV is in PATH
44+
[ -f "$HOME/.local/bin/env" ] && . "$HOME/.local/bin/env"
45+
export PATH="$HOME/.local/bin:$PATH"
46+
source $HOME/.cargo/env 2>/dev/null || true
47+
export PATH="$HOME/.cargo/bin:$PATH"
48+
4349
# Verify UV installation
4450
command -v uv || (echo "UV not found in PATH" && exit 1)
4551
# Create and activate a local uv virtual environment

0 commit comments

Comments
 (0)