diff --git a/.github/workflows/pwsh.yml b/.github/workflows/pwsh.yml index 0cd76f277..7668504f4 100644 --- a/.github/workflows/pwsh.yml +++ b/.github/workflows/pwsh.yml @@ -34,6 +34,11 @@ jobs: run: | Import-Module Pester -PassThru $ErrorActionPreference = 'Continue' + + "Currently, PSNativeCommandArgumentPassing: '$PSNativeCommandArgumentPassing'" + "Forcing PowerShell 7.3 behavior with value: 'Standard'..." + $PSNativeCommandArgumentPassing = 'Standard' + $res = Invoke-Pester -Path test -Output Detailed -PassThru -ErrorAction SilentlyContinue if (!$res -or ($res.FailedCount -gt 0)) { $Error | Format-List * -Force