This commit is contained in:
Ashwin Bharambe 2025-08-18 13:59:58 -07:00
parent a4e53cc4f3
commit 9517eef70c
4 changed files with 7 additions and 15 deletions

View file

@ -36,7 +36,7 @@ runs:
- name: Run Integration Tests - name: Run Integration Tests
shell: bash shell: bash
run: | run: |
./scripts/integration-tests.sh \ uv run ./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,15 +21,11 @@ runs:
- name: Install dependencies - name: Install dependencies
shell: bash shell: bash
run: | run: |
VENV_NAME="github-actions-runner" echo "Updating project dependencies via uv sync"
uv venv $VENV_NAME
source $VENV_NAME/bin/activate
uv sync --all-groups uv sync --all-groups
uv pip install ollama faiss-cpu
# You must install llama-stack first because otherwise it will overwrite llama-stack-client-python echo "Installing ad-hoc dependencies"
uv pip install -e . uv pip install ollama faiss-cpu
# Install llama-stack-client-python based on the client-version input # Install llama-stack-client-python based on the client-version input
if [ "${{ inputs.client-version }}" = "latest" ]; then if [ "${{ inputs.client-version }}" = "latest" ]; then

View file

@ -42,8 +42,8 @@ runs:
- name: Build Llama Stack - name: Build Llama Stack
shell: bash shell: bash
run: | run: |
echo $VIRTUAL_ENV echo "Building Llama Stack"
uv run --active llama stack build --template ci-tests --image-type venv uv run llama stack build --template ci-tests --image-type venv
- name: Configure git for commits - name: Configure git for commits
shell: bash shell: bash

View file

@ -111,12 +111,8 @@ echo "Inference Mode: $INFERENCE_MODE"
echo "Test Pattern: $TEST_PATTERN" echo "Test Pattern: $TEST_PATTERN"
echo "" echo ""
echo "VIRTUAL_ENV: $VIRTUAL_ENV"
echo "Packages installed:" echo "Packages installed:"
uv venv list
echo "Packages installed in active venv:"
uv run --active pip list
echo "Packages installed in llama-stack venv:"
uv pip list uv pip list
# Check storage and memory before tests # Check storage and memory before tests