Pester should fail "automatically" ...
This commit is contained in:
@@ -324,7 +324,6 @@ jobs:
|
|||||||
Set-PSRepository psgallery -InstallationPolicy trusted
|
Set-PSRepository psgallery -InstallationPolicy trusted
|
||||||
Install-Module -Name Pester -RequiredVersion 5.3.1 -Confirm:$false -Force
|
Install-Module -Name Pester -RequiredVersion 5.3.1 -Confirm:$false -Force
|
||||||
Invoke-Pester -Path "tests"
|
Invoke-Pester -Path "tests"
|
||||||
if ($Error[0].Fullyqualifiederrorid -eq 'PesterAssertionFailed') {exit 1}
|
|
||||||
shell: powershell
|
shell: powershell
|
||||||
|
|
||||||
- name: Discord notification
|
- name: Discord notification
|
||||||
|
|||||||
Reference in New Issue
Block a user