mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-15 22:18:00 +00:00
moar testing
This commit is contained in:
parent
8274b58685
commit
91be81e445
1 changed files with 14 additions and 8 deletions
22
.github/workflows/integration-vision-tests.yml
vendored
22
.github/workflows/integration-vision-tests.yml
vendored
|
@ -84,12 +84,12 @@ jobs:
|
|||
python-version: "3.12" # Use single Python version for recording
|
||||
client-version: "latest"
|
||||
|
||||
- name: Setup ollama for vision tests
|
||||
uses: ./.github/actions/setup-vision-ollama
|
||||
# - name: Setup ollama for vision tests
|
||||
# uses: ./.github/actions/setup-vision-ollama
|
||||
|
||||
- name: Build Llama Stack
|
||||
run: |
|
||||
uv run llama stack build --template ci-tests --image-type venv
|
||||
# - name: Build Llama Stack
|
||||
# run: |
|
||||
# uv run llama stack build --template ci-tests --image-type venv
|
||||
|
||||
- name: Configure git for commits
|
||||
run: |
|
||||
|
@ -107,8 +107,13 @@ jobs:
|
|||
|
||||
- name: Commit and push recordings
|
||||
run: |
|
||||
set -x
|
||||
echo "Testing testing" > tests/integration/recordings/test.txt
|
||||
|
||||
echo "head ref: ${{ github.head_ref }}"
|
||||
echo "base ref: ${{ github.base_ref }}"
|
||||
echo "ref: ${{ github.ref }}"
|
||||
|
||||
pwd
|
||||
ls -la tests/integration/recordings/
|
||||
git status --porcelain tests/integration/recordings/
|
||||
|
@ -117,12 +122,13 @@ jobs:
|
|||
if [[ -n $(git status --porcelain tests/integration/recordings/) ]]; then
|
||||
echo "New recordings detected, committing and pushing"
|
||||
|
||||
git checkout -B ${{ github.head_ref }}
|
||||
git checkout -B test-branch-foobar
|
||||
|
||||
git add tests/integration/recordings/
|
||||
git commit -m "Update recordings"
|
||||
git pull --rebase origin ${{ github.head_ref }}
|
||||
git push origin ${{ github.head_ref }}
|
||||
git fetch origin ${{ github.head_ref }}
|
||||
git rebase origin/${{ github.head_ref }}
|
||||
git push origin HEAD:${{ github.head_ref }}
|
||||
else
|
||||
echo "No recording changes"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue