diff --git a/.github/workflows/unittests.yaml b/.github/workflows/unittests.yaml index 8fbf12bdc2..4b3e812e38 100644 --- a/.github/workflows/unittests.yaml +++ b/.github/workflows/unittests.yaml @@ -31,12 +31,12 @@ jobs: - name: Install Pester run: | - Install-Module -Name Pester -Force -AllowClobber + pwsh -Command "Install-Module -Name Pester -Force -AllowClobber" shell: bash - name: Run Pester tests run: | # Change the path to your test file and script file accordingly - Invoke-Pester -Path 'pester/*.Tests.ps1' + pwsh -Command "Invoke-Pester -Path 'pester/*.Tests.ps1'" shell: bash \ No newline at end of file