fix(ci): Use 'uv run' to execute llama command in virtual environment

The previous commit tried to run 'llama stack list-deps' directly, but the 'llama' command
wasn't in PATH yet since the virtual environment hadn't been activated.

This fix uses 'uv run llama' instead, which executes the command within the uv virtual
environment context, ensuring the llama CLI is accessible.
This commit is contained in:
Omar Abdelwahab 2025-11-12 15:51:55 -08:00
parent 844a159219
commit 761a2a0ce3

View file

@ -62,7 +62,7 @@ runs:
uv pip install --force-reinstall --no-deps -e . uv pip install --force-reinstall --no-deps -e .
echo "Installing ci-tests distribution dependencies" echo "Installing ci-tests distribution dependencies"
llama stack list-deps ci-tests | xargs -L1 uv pip install uv run llama stack list-deps ci-tests | xargs -L1 uv pip install
echo "Installing ad-hoc dependencies" echo "Installing ad-hoc dependencies"
uv pip install faiss-cpu uv pip install faiss-cpu