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: 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 -ErrorAction 'Stop'
}" }"
- name: UnitTests - name: UnitTests
@ -33,10 +32,9 @@ 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' -ErrorAction 'Stop'
}" }"
- name: coverage - name: coverage