Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion azure/azure-build-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,16 @@ extends:
- bash: "make test-report"
displayName: run tests
workingDirectory: "${{ variables.service_name }}"
- bash: |
if [ ! -f "reports/tests/async-slowapp.xml" ] || [ ! -f "reports/tests/sync-wrap.xml" ]; then
echo "Test reports not found"
exit -1
fi
workingDirectory: ${{ variables.service_name }}
displayName: Check test reports exist
- task: PublishTestResults@2
inputs:
testResultsFormat: "JUnit"
testResultsFiles: "./reports/tests/*.xml"
testResultsFiles: "${{ variables.service_name }}/reports/tests/*.xml"
failTaskOnFailedTests: true
displayName: publish test report
Loading