Try shortening test formula

This commit is contained in:
Connor Hack 2024-11-22 15:26:32 -08:00
parent 8f60a3a55d
commit 071710426d

View file

@ -229,6 +229,7 @@ jobs:
- name: "Run Tests: Loop"
id: run_tests_loop
working-directory: "${{ github.workspace }}"
if: github.event_name == 'pull_request_target'
run: |
pattern=""
for dir in llama_stack/providers/tests/*; do
@ -253,8 +254,8 @@ jobs:
- name: "Test Summary: Merge"
id: test_summary_merge
if: always()
working-directory: "${{ github.workspace }}"
if: github.event_name == 'pull_request_target'
run: |
echo "Merging the following test result files: ${REPORTS_GEN}"
# Defaults to merging them into 'merged-test-results.xml'
@ -317,7 +318,7 @@ jobs:
run: |
echo "[STEP] Running PyTest tests at 'GITHUB_WORKSPACE' path: ${{ github.workspace }}"
# (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.
# junit-merge <new-test-results> merged-test-results.xml