mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-03 09:21:45 +00:00
Fix syntax error
This commit is contained in:
parent
0e9ed3688d
commit
9c07e0189a
1 changed files with 4 additions and 1 deletions
|
@ -227,6 +227,9 @@ jobs:
|
||||||
new_file="result-${dir_name}-${test_name}.xml"
|
new_file="result-${dir_name}-${test_name}.xml"
|
||||||
if torchrun $(which pytest) -s -v ${TESTS_PATH}/${dir_name}/${test_name} -m "${PROVIDER_ID} and llama_3b" \
|
if torchrun $(which pytest) -s -v ${TESTS_PATH}/${dir_name}/${test_name} -m "${PROVIDER_ID} and llama_3b" \
|
||||||
--junitxml="${{ github.workspace }}/${new_file}"; then
|
--junitxml="${{ github.workspace }}/${new_file}"; then
|
||||||
|
echo "Test passed"
|
||||||
|
else
|
||||||
|
echo "Test failed"
|
||||||
fi
|
fi
|
||||||
pattern+="${new_file} "
|
pattern+="${new_file} "
|
||||||
done
|
done
|
||||||
|
@ -299,7 +302,7 @@ jobs:
|
||||||
working-directory: "${{ github.workspace }}"
|
working-directory: "${{ github.workspace }}"
|
||||||
if: github.event_name == 'workflow_dispatch'
|
if: github.event_name == 'workflow_dispatch'
|
||||||
run: |
|
run: |
|
||||||
echo "[STEP] Running PyTest tests at 'GITHUB_WORKSPACE' path: ${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.
|
||||||
|
|
||||||
# Merge test results with 'merged-test-results.xml' from above.
|
# Merge test results with 'merged-test-results.xml' from above.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue