Skip to content

Commit

Permalink
Tweak Pester Runner ***NO_CI***
Browse files Browse the repository at this point in the history
  • Loading branch information
kjacobsen committed Jul 14, 2019
1 parent 555f584 commit 4dc22a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@ steps:

- powershell: |
$env:PSModulePath = '$(Build.SourcesDirectory)\.buildmodules' + ';' + $env:PSModulePath
Invoke-Pester -Script $(build.artifactstagingdirectory)\$(Build.DefinitionName)\* -OutputFile $(Common.TestResultsDirectory)\Test-Pester.XML -OutputFormat NUnitXML
Invoke-Pester -Script $(build.artifactstagingdirectory)\$(Build.DefinitionName)\* -OutputFile $(Common.TestResultsDirectory)\Test-Pester.XML -OutputFormat NUnitXML -EnableExit
workingDirectory: '$(build.artifactstagingdirectory)'
continueOnError: true
displayName: 'Run Pester'

- task: PublishTestResults@1
Expand Down

0 comments on commit 4dc22a2

Please sign in to comment.