From e60ec8ae98753167b0dd4f773e419d27cf9c0c2c Mon Sep 17 00:00:00 2001 From: Haritha <73516759+HarithaVattikuti@users.noreply.github.com> Date: Mon, 3 Nov 2025 11:29:12 -0600 Subject: [PATCH] Update Pester invocation with configuration options --- .github/workflows/build-tool-packages.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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: