We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23c30c2 commit d4888c2Copy full SHA for d4888c2
2 files changed
azure/azure-build-pipeline.yml
@@ -55,9 +55,16 @@ extends:
55
- bash: "make test-report"
56
displayName: run tests
57
workingDirectory: "${{ variables.service_name }}"
58
+ - bash: |
59
+ if [ ! -f "reports/tests/async-slowapp.xml" ] || [ ! -f "reports/tests/sync-wrap.xml" ]; then
60
+ echo "Test results not found"
61
+ exit -1
62
+ fi
63
+ workingDirectory: ${{ variables.service_name }}
64
+ displayName: Check test results exist
65
- task: PublishTestResults@2
66
inputs:
67
testResultsFormat: "JUnit"
- testResultsFiles: "../../reports/tests/*.xml"
68
+ testResultsFiles: "${{ variables.service_name }}/reports/tests/*.xml"
69
failTaskOnFailedTests: true
70
displayName: publish test report
0 commit comments