Skip to content

Commit

Permalink
Stop when test fails (#13780)
Browse files Browse the repository at this point in the history
  • Loading branch information
dolauli authored Dec 20, 2020
1 parent efe9e19 commit 9dae391
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .azure-pipelines/util/test-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ steps:
condition: and(succeeded(), ne('${{ parameters.testTarget }}', 'Test'))

- pwsh: |
$ErrorActionPreference = 'Stop'
Install-Module -Name Pester -RequiredVersion 4.10.1 -Force
Install-Module -Name Az.Accounts -Scope CurrentUser -Force
if ($IsWindows) { $sp = ";" } else { $sp = ":" }
Expand All @@ -54,4 +55,4 @@ steps:

- template: publish-artifacts-steps.yml
parameters:
artifactName: test-${{ parameters.osName }}
artifactName: test-${{ parameters.osName }}

0 comments on commit 9dae391

Please sign in to comment.