Fix Test Publishing

This commit is contained in:
Wes Carroll
2019-03-28 10:32:23 -04:00
parent 5a10669403
commit 3e9f450208
2 changed files with 14 additions and 13 deletions
+12 -12
View File
@@ -14,15 +14,15 @@ jobs:
- task: PublishTestResults@2
inputs:
testRunner: 'NUnit'
testResultsFiles: '**/TestResults.xml'
testResultsFiles: '**/Public/TestResults.xml'
testRunTitle: 'PS_Win2016'
displayName: 'Publish Test Results'
- job: Build_PSCore_Ubuntu1604
pool:
vmImage: ubuntu-16.04
steps:
- script: |
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
@@ -30,18 +30,18 @@ jobs:
sudo apt-get update
sudo apt-get install -y powershell
displayName: 'Install PowerShell Core'
- script: |
pwsh -c '.\build.ps1'
displayName: 'Build and Test'
- task: PublishTestResults@2
inputs:
testRunner: 'NUnit'
testResultsFiles: '**/TestResults.xml'
testResultsFiles: '**/Public/TestResults.xml'
testRunTitle: 'PSCore_Ubuntu1604'
displayName: 'Publish Test Results'
- job: Build_PSCore_MacOS1013
pool:
vmImage: xcode9-macos10.13
@@ -51,14 +51,14 @@ jobs:
brew tap caskroom/cask
brew cask install powershell
displayName: 'Install PowerShell Core'
- script: |
pwsh -c '.\build.ps1'
displayName: 'Build and Test'
- task: PublishTestResults@2
inputs:
testRunner: 'NUnit'
testResultsFiles: '**/TestResults.xml'
testResultsFiles: '**/Public/TestResults.xml'
testRunTitle: 'PSCore_MacOS1013'
displayName: 'Publish Test Results'
displayName: 'Publish Test Results'