mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-02 08:44:44 +00:00
Try shortening test formula
This commit is contained in:
parent
8f60a3a55d
commit
071710426d
1 changed files with 3 additions and 2 deletions
|
@ -229,6 +229,7 @@ jobs:
|
||||||
- name: "Run Tests: Loop"
|
- name: "Run Tests: Loop"
|
||||||
id: run_tests_loop
|
id: run_tests_loop
|
||||||
working-directory: "${{ github.workspace }}"
|
working-directory: "${{ github.workspace }}"
|
||||||
|
if: github.event_name == 'pull_request_target'
|
||||||
run: |
|
run: |
|
||||||
pattern=""
|
pattern=""
|
||||||
for dir in llama_stack/providers/tests/*; do
|
for dir in llama_stack/providers/tests/*; do
|
||||||
|
@ -253,8 +254,8 @@ jobs:
|
||||||
|
|
||||||
- name: "Test Summary: Merge"
|
- name: "Test Summary: Merge"
|
||||||
id: test_summary_merge
|
id: test_summary_merge
|
||||||
if: always()
|
|
||||||
working-directory: "${{ github.workspace }}"
|
working-directory: "${{ github.workspace }}"
|
||||||
|
if: github.event_name == 'pull_request_target'
|
||||||
run: |
|
run: |
|
||||||
echo "Merging the following test result files: ${REPORTS_GEN}"
|
echo "Merging the following test result files: ${REPORTS_GEN}"
|
||||||
# Defaults to merging them into 'merged-test-results.xml'
|
# Defaults to merging them into 'merged-test-results.xml'
|
||||||
|
@ -317,7 +318,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo "[STEP] Running PyTest tests at 'GITHUB_WORKSPACE' path: ${{ github.workspace }}"
|
echo "[STEP] Running PyTest tests at 'GITHUB_WORKSPACE' path: ${{ github.workspace }}"
|
||||||
# (Optional) Add more tests here.
|
# (Optional) Add more tests here.
|
||||||
|
pytest -s -v -m "${PROVIDER_ID} and ${MODEL_ID}" --junitxml="${{ github.workspace }}/merged-test-results.xml"
|
||||||
# Merge test results with 'merged-test-results.xml' from above.
|
# Merge test results with 'merged-test-results.xml' from above.
|
||||||
# junit-merge <new-test-results> merged-test-results.xml
|
# junit-merge <new-test-results> merged-test-results.xml
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue