stop on error
This commit is contained in:
parent
5b4d043c7d
commit
166efda770
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user