diff --git a/.github/workflows/build-tool-packages.yml b/.github/workflows/build-tool-packages.yml index ab57d22..f2a4dbe 100644 --- a/.github/workflows/build-tool-packages.yml +++ b/.github/workflows/build-tool-packages.yml @@ -168,7 +168,11 @@ jobs: Install-Module Pester -Force -Scope CurrentUser -SkipPublisherCheck Import-Module Pester $toolName = (Get-Culture).TextInfo.ToTitleCase("${{ inputs.tool-name }}") - Invoke-Pester -Script ./$toolName.Tests.ps1 -EnableExit + Invoke-Pester -Configuration @{ + Run = @{ Path = "./$toolName.Tests.ps1" } + Should = @{ ErrorAction = 'Continue' } + Output = @{ EnableExit = $true } + } working-directory: ./tests publish_release: