This commit is contained in:
Ashwin Bharambe 2025-08-18 14:42:59 -07:00
parent 0dd4a72bbc
commit 0d25c62ab2
2 changed files with 8 additions and 2 deletions

View file

@ -36,7 +36,7 @@ runs:
- name: Run Integration Tests - name: Run Integration Tests
shell: bash shell: bash
run: | run: |
uv run --verbose ./scripts/integration-tests.sh \ uv run --verbose --active ./scripts/integration-tests.sh \
--stack-config '${{ inputs.stack-config }}' \ --stack-config '${{ inputs.stack-config }}' \
--provider '${{ inputs.provider }}' \ --provider '${{ inputs.provider }}' \
--test-subdirs '${{ inputs.test-subdirs }}' \ --test-subdirs '${{ inputs.test-subdirs }}' \

View file

@ -21,8 +21,14 @@ runs:
- name: Install dependencies - name: Install dependencies
shell: bash shell: bash
run: | run: |
# explicitly setup a virtual environment distinct from the project one because
# we are going to manipulate it via `llama stack build` among other things.
VIRTUAL_ENV=github-actions-runner
uv venv $VIRTUAL_ENV
source $VIRTUAL_ENV/bin/activate
echo "Updating project dependencies via uv sync" echo "Updating project dependencies via uv sync"
uv sync --all-groups uv sync --active --all-groups
echo "Installing ad-hoc dependencies" echo "Installing ad-hoc dependencies"
uv pip install ollama faiss-cpu uv pip install ollama faiss-cpu