This commit is contained in:
Ashwin Bharambe 2025-07-30 20:11:49 -07:00
parent 837cc6ed3a
commit f3b446f434
2 changed files with 7 additions and 1 deletions

View file

@ -30,12 +30,13 @@ runs:
- name: Run Integration Tests - name: Run Integration Tests
env: env:
LLAMA_STACK_CLIENT_TIMEOUT: "300" LLAMA_STACK_CLIENT_TIMEOUT: "300"
LLAMA_STACK_TEST_INFERENCE_MODE: ${{ inputs.inference-mode }}
shell: bash shell: bash
run: | run: |
stack_config="${{ inputs.stack-config }}" stack_config="${{ inputs.stack-config }}"
EXCLUDE_TESTS="builtin_tool or safety_with_image or code_interpreter or test_rag" EXCLUDE_TESTS="builtin_tool or safety_with_image or code_interpreter or test_rag"
export LLAMA_STACK_TEST_INFERENCE_MODE="${{ inputs.inference-mode }}"
# Configure provider-specific settings # Configure provider-specific settings
if [ "${{ inputs.provider }}" == "ollama" ]; then if [ "${{ inputs.provider }}" == "ollama" ]; then
export OLLAMA_URL="http://0.0.0.0:11434" export OLLAMA_URL="http://0.0.0.0:11434"

View file

@ -107,6 +107,11 @@ jobs:
- name: Commit and push recordings - name: Commit and push recordings
run: | run: |
pwd
ls -la tests/integration/recordings/
git status --porcelain tests/integration/recordings/
git status
if ! git status --porcelain tests/integration/recordings/ | grep -q .; then if ! git status --porcelain tests/integration/recordings/ | grep -q .; then
echo "New recordings detected, committing and pushing" echo "New recordings detected, committing and pushing"
git add tests/integration/recordings/ git add tests/integration/recordings/