stop on error

This commit is contained in:
OCram85 2022-06-28 10:38:41 +02:00
parent 5b4d043c7d
commit 166efda770

View File

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