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
6
.github/workflows/integration-tests.yml
vendored
6
.github/workflows/integration-tests.yml
vendored
|
@ -130,9 +130,13 @@ jobs:
|
|||
run: |
|
||||
if [[ -n $(git status --porcelain tests/integration/recordings/) ]]; then
|
||||
echo "New recordings detected, committing and pushing"
|
||||
|
||||
git checkout -B ${{ github.head_ref }}
|
||||
|
||||
git add tests/integration/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
|
||||
echo "No recording changes"
|
||||
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.name "github-actions[bot]"
|
||||
|
||||
- name: Run Integration Tests for All Types (Recording Mode)
|
||||
uses: ./.github/actions/run-integration-tests
|
||||
with:
|
||||
test-types: ${{ needs.discover-tests.outputs.test-types }}
|
||||
stack-config: 'server:ci-tests' # re-recording must be done in server mode
|
||||
provider: 'ollama'
|
||||
inference-mode: 'record'
|
||||
run-vision-tests: 'true'
|
||||
# - name: Run Integration Tests for All Types (Recording Mode)
|
||||
# uses: ./.github/actions/run-integration-tests
|
||||
# with:
|
||||
# test-types: ${{ needs.discover-tests.outputs.test-types }}
|
||||
# stack-config: 'server:ci-tests' # re-recording must be done in server mode
|
||||
# provider: 'ollama'
|
||||
# inference-mode: 'record'
|
||||
# run-vision-tests: 'true'
|
||||
|
||||
- name: Commit and push recordings
|
||||
run: |
|
||||
echo "Testing testing" > tests/integration/recordings/test.txt
|
||||
|
||||
pwd
|
||||
ls -la tests/integration/recordings/
|
||||
git status --porcelain tests/integration/recordings/
|
||||
|
@ -114,9 +116,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 add tests/integration/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
|
||||
echo "No recording changes"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue