mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-17 14:39:47 +00:00
.
This commit is contained in:
parent
a4e53cc4f3
commit
9517eef70c
4 changed files with 7 additions and 15 deletions
|
|
@ -36,7 +36,7 @@ runs:
|
|||
- name: Run Integration Tests
|
||||
shell: bash
|
||||
run: |
|
||||
./scripts/integration-tests.sh \
|
||||
uv run ./scripts/integration-tests.sh \
|
||||
--stack-config '${{ inputs.stack-config }}' \
|
||||
--provider '${{ inputs.provider }}' \
|
||||
--test-subdirs '${{ inputs.test-subdirs }}' \
|
||||
|
|
|
|||
10
.github/actions/setup-runner/action.yml
vendored
10
.github/actions/setup-runner/action.yml
vendored
|
|
@ -21,15 +21,11 @@ runs:
|
|||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
VENV_NAME="github-actions-runner"
|
||||
uv venv $VENV_NAME
|
||||
source $VENV_NAME/bin/activate
|
||||
|
||||
echo "Updating project dependencies via uv sync"
|
||||
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
|
||||
uv pip install -e .
|
||||
echo "Installing ad-hoc dependencies"
|
||||
uv pip install ollama faiss-cpu
|
||||
|
||||
# Install llama-stack-client-python based on the client-version input
|
||||
if [ "${{ inputs.client-version }}" = "latest" ]; then
|
||||
|
|
|
|||
|
|
@ -42,8 +42,8 @@ runs:
|
|||
- name: Build Llama Stack
|
||||
shell: bash
|
||||
run: |
|
||||
echo $VIRTUAL_ENV
|
||||
uv run --active llama stack build --template ci-tests --image-type venv
|
||||
echo "Building Llama Stack"
|
||||
uv run llama stack build --template ci-tests --image-type venv
|
||||
|
||||
- name: Configure git for commits
|
||||
shell: bash
|
||||
|
|
|
|||
|
|
@ -111,12 +111,8 @@ echo "Inference Mode: $INFERENCE_MODE"
|
|||
echo "Test Pattern: $TEST_PATTERN"
|
||||
echo ""
|
||||
|
||||
echo "VIRTUAL_ENV: $VIRTUAL_ENV"
|
||||
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
|
||||
|
||||
# Check storage and memory before tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue