mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-16 06:27:58 +00:00
testing
This commit is contained in:
parent
343d569b76
commit
8274b58685
2 changed files with 21 additions and 11 deletions
8
.github/workflows/integration-tests.yml
vendored
8
.github/workflows/integration-tests.yml
vendored
|
@ -130,9 +130,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
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 add tests/integration/recordings/
|
git add tests/integration/recordings/
|
||||||
git commit -m "Update recordings"
|
git commit -m "Update recordings"
|
||||||
git push origin HEAD:${{ github.head_ref }}
|
git pull --rebase origin ${{ github.head_ref }}
|
||||||
|
git push origin ${{ github.head_ref }}
|
||||||
else
|
else
|
||||||
echo "No recording changes"
|
echo "No recording changes"
|
||||||
fi
|
fi
|
||||||
|
|
24
.github/workflows/integration-vision-tests.yml
vendored
24
.github/workflows/integration-vision-tests.yml
vendored
|
@ -96,17 +96,19 @@ jobs:
|
||||||
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
git config --local user.name "github-actions[bot]"
|
git config --local user.name "github-actions[bot]"
|
||||||
|
|
||||||
- name: Run Integration Tests for All Types (Recording Mode)
|
# - name: Run Integration Tests for All Types (Recording Mode)
|
||||||
uses: ./.github/actions/run-integration-tests
|
# uses: ./.github/actions/run-integration-tests
|
||||||
with:
|
# with:
|
||||||
test-types: ${{ needs.discover-tests.outputs.test-types }}
|
# test-types: ${{ needs.discover-tests.outputs.test-types }}
|
||||||
stack-config: 'server:ci-tests' # re-recording must be done in server mode
|
# stack-config: 'server:ci-tests' # re-recording must be done in server mode
|
||||||
provider: 'ollama'
|
# provider: 'ollama'
|
||||||
inference-mode: 'record'
|
# inference-mode: 'record'
|
||||||
run-vision-tests: 'true'
|
# run-vision-tests: 'true'
|
||||||
|
|
||||||
- name: Commit and push recordings
|
- name: Commit and push recordings
|
||||||
run: |
|
run: |
|
||||||
|
echo "Testing testing" > tests/integration/recordings/test.txt
|
||||||
|
|
||||||
pwd
|
pwd
|
||||||
ls -la tests/integration/recordings/
|
ls -la tests/integration/recordings/
|
||||||
git status --porcelain tests/integration/recordings/
|
git status --porcelain tests/integration/recordings/
|
||||||
|
@ -114,9 +116,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 add tests/integration/recordings/
|
git add tests/integration/recordings/
|
||||||
git commit -m "Update recordings"
|
git commit -m "Update recordings"
|
||||||
git push origin HEAD:${{ github.head_ref }}
|
git pull --rebase origin ${{ github.head_ref }}
|
||||||
|
git push origin ${{ 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