mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-16 22:43:14 +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
|
python-version: "3.12" # Use single Python version for recording
|
||||||
client-version: "latest"
|
client-version: "latest"
|
||||||
|
|
||||||
- name: Setup ollama for vision tests
|
# - name: Setup ollama for vision tests
|
||||||
uses: ./.github/actions/setup-vision-ollama
|
# uses: ./.github/actions/setup-vision-ollama
|
||||||
|
|
||||||
- name: Build Llama Stack
|
# - name: Build Llama Stack
|
||||||
run: |
|
# run: |
|
||||||
uv run 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
|
||||||
run: |
|
run: |
|
||||||
|
@ -107,8 +107,13 @@ jobs:
|
||||||
|
|
||||||
- name: Commit and push recordings
|
- name: Commit and push recordings
|
||||||
run: |
|
run: |
|
||||||
|
set -x
|
||||||
echo "Testing testing" > tests/integration/recordings/test.txt
|
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
|
pwd
|
||||||
ls -la tests/integration/recordings/
|
ls -la tests/integration/recordings/
|
||||||
git status --porcelain tests/integration/recordings/
|
git status --porcelain tests/integration/recordings/
|
||||||
|
@ -117,12 +122,13 @@ jobs:
|
||||||
if [[ -n $(git status --porcelain tests/integration/recordings/) ]]; then
|
if [[ -n $(git status --porcelain tests/integration/recordings/) ]]; then
|
||||||
echo "New recordings detected, committing and pushing"
|
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 add tests/integration/recordings/
|
||||||
git commit -m "Update recordings"
|
git commit -m "Update recordings"
|
||||||
git pull --rebase origin ${{ github.head_ref }}
|
git fetch origin ${{ github.head_ref }}
|
||||||
git push origin ${{ github.head_ref }}
|
git rebase origin/${{ github.head_ref }}
|
||||||
|
git push origin HEAD:${{ github.head_ref }}
|
||||||
else
|
else
|
||||||
echo "No recording changes"
|
echo "No recording changes"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue