This commit is contained in:
Ashwin Bharambe 2025-08-18 15:17:28 -07:00
parent 3114e188a8
commit 6b9d14042e
6 changed files with 10 additions and 21 deletions

View file

@ -36,11 +36,7 @@ runs:
- name: Run Integration Tests
shell: bash
run: |
# TODO: make sure this virtual environment is the same as the one used in the setup-runner action
VIRTUAL_ENV=github-actions-runner
source $VIRTUAL_ENV/bin/activate
uv run --verbose --active --no-sync ./scripts/integration-tests.sh \
uv run --no-sync ./scripts/integration-tests.sh \
--stack-config '${{ inputs.stack-config }}' \
--provider '${{ inputs.provider }}' \
--test-subdirs '${{ inputs.test-subdirs }}' \

View file

@ -21,14 +21,8 @@ runs:
- name: Install dependencies
shell: bash
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"
uv sync --active --all-groups
uv sync --all-groups
echo "Installing ad-hoc dependencies"
uv pip install faiss-cpu

View file

@ -42,9 +42,6 @@ runs:
- name: Build Llama Stack
shell: bash
run: |
VIRTUAL_ENV=github-actions-runner
source $VIRTUAL_ENV/bin/activate
# Install llama-stack-client-python based on the client-version input
if [ "${{ inputs.client-version }}" = "latest" ]; then
echo "Installing latest llama-stack-client-python from main branch"
@ -60,7 +57,7 @@ runs:
echo "Building Llama Stack"
LLAMA_STACK_DIR=. \
uv run --active --no-sync llama stack build --template ci-tests --image-type venv
uv run --no-sync llama stack build --template ci-tests --image-type venv
- name: Configure git for commits
shell: bash