mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-22 07:56:17 +00:00
yes4
This commit is contained in:
parent
3114e188a8
commit
6b9d14042e
6 changed files with 10 additions and 21 deletions
|
|
@ -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 }}' \
|
||||
|
|
|
|||
8
.github/actions/setup-runner/action.yml
vendored
8
.github/actions/setup-runner/action.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue