Pester should fail "automatically" ...

This commit is contained in:
Matthias
2024-06-02 08:53:19 +02:00
parent a2d5b4b2fe
commit 7b6864b991

View File

@@ -324,7 +324,6 @@ jobs:
Set-PSRepository psgallery -InstallationPolicy trusted
Install-Module -Name Pester -RequiredVersion 5.3.1 -Confirm:$false -Force
Invoke-Pester -Path "tests"
if ($Error[0].Fullyqualifiederrorid -eq 'PesterAssertionFailed') {exit 1}
shell: powershell
- name: Discord notification