diff --git a/.github/workflows/python-builder.yml b/.github/workflows/python-builder.yml index fbd004b..028324b 100644 --- a/.github/workflows/python-builder.yml +++ b/.github/workflows/python-builder.yml @@ -152,7 +152,7 @@ jobs: Version="${{ env.VERSION }}"; Platform="${{ matrix.platform }}"; } - Invoke-Pester -Container $pesterContainer -PassThru + $Result = Invoke-Pester -Container $pesterContainer -PassThru if ($Result.FailedCount -gt 0) { $host.SetShouldExit($Result.FailedCount) exit $Result.FailedCount