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 4307159bed - Show all commits

View File

@ -36,7 +36,7 @@ steps:
pwsh -NonInteractive -c "& { pwsh -NonInteractive -c "& {
Import-Module './tools/DroneIO.psm1'; Import-Module './tools/DroneIO.psm1';
Invoke-InstallDependencies; Invoke-InstallDependencies;
Invoke-UnitTest -Verbosity 'Detailed' -ErrorAction 'Stop' Invoke-UnitTest -Verbosity 'Normal' -ErrorAction 'Stop'
}" }"
- name: coverage - name: coverage
@ -46,6 +46,8 @@ steps:
from_secret: CodeCovToken from_secret: CodeCovToken
files: files:
- coverage.xml - coverage.xml
depends_on:
- UnitTests
- name: SetPipelineState - name: SetPipelineState
image: mcr.microsoft.com/powershell:lts-7.2-ubuntu-focal image: mcr.microsoft.com/powershell:lts-7.2-ubuntu-focal
@ -55,3 +57,7 @@ steps:
Import-Module './tools/DroneIO.psm1'; Import-Module './tools/DroneIO.psm1';
Invoke-BuildState -ErrorAction 'Stop' Invoke-BuildState -ErrorAction 'Stop'
}" }"
depends_on:
- LintTests
- UnitTests
- Coverage