stop on error

This commit is contained in:
OCram85 2022-06-28 10:38:41 +02:00
parent 5b4d043c7d
commit 166efda770
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@ steps:
commands:
- |
pwsh -NonInteractive -c "& {
$ErrorActionPreference = 'Stop';
Import-Module './tools/DroneIO.psm1';
Invoke-InstallDependencies;
Invoke-Linter
@ -32,6 +33,7 @@ steps:
commands:
- |
pwsh -NonInteractive -c "& {
$ErrorActionPreference = 'Stop';
Import-Module './tools/DroneIO.psm1';
Invoke-InstallDependencies;
Invoke-UnitTest -Verbosity 'Detailed'