mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-23 22:13:38 +00:00
Publish unit test results from Linux and Mac builds (#3480)
* Added publish test results step to Linux and Mac builds. * Fix test result file pattern.
This commit is contained in:
parent
f5ba9c922d
commit
cffdff6702
2 changed files with 14 additions and 0 deletions
|
|
@ -28,6 +28,13 @@ jobs:
|
|||
- template: linux-set-variables-and-download.yml
|
||||
- script: ${{ parameters.BuildCommand }}
|
||||
displayName: 'Command Line Script'
|
||||
- task: PublishTestResults@2
|
||||
displayName: 'Publish unit test results'
|
||||
inputs:
|
||||
testResultsFiles: '**/*.results.xml'
|
||||
searchFolder: '$(Build.BinariesDirectory)'
|
||||
testRunTitle: 'Unit Test Run'
|
||||
condition: succeededOrFailed()
|
||||
- ${{ if eq(parameters['DoNugetPack'], 'true') }}:
|
||||
- script: |
|
||||
${{ parameters.NuPackScript }}
|
||||
|
|
|
|||
|
|
@ -28,6 +28,13 @@ jobs:
|
|||
sudo xcode-select --switch /Applications/Xcode_10.app/Contents/Developer
|
||||
${{ parameters.BuildCommand }}
|
||||
displayName: 'Build and Test OnnxRuntime lib for MacOS'
|
||||
- task: PublishTestResults@2
|
||||
displayName: 'Publish unit test results'
|
||||
inputs:
|
||||
testResultsFiles: '**/*.results.xml'
|
||||
searchFolder: '$(Build.BinariesDirectory)'
|
||||
testRunTitle: 'Unit Test Run'
|
||||
condition: succeededOrFailed()
|
||||
- ${{ if eq(parameters['DoNugetPack'], 'true') }}:
|
||||
- script: |
|
||||
${{ parameters.NuPackScript }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue