Migrates to Pester5+ tests #59

Merged
OCram85 merged 47 commits from Pester5 into master 2022-07-14 13:37:13 +02:00
Showing only changes of commit c3ac2d2fc9 - Show all commits

View File

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