diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index e5fcb21..c9917c3 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -201,6 +201,8 @@ jobs: - name: Run integration tests shell: pwsh env: + DOTNET_ROOT: '' + DOTNET_MULTILEVEL_LOOKUP: '' PVETEST_HOST: ${{ steps.target.outputs.host }} PVETEST_PORT: ${{ steps.target.outputs.port }} PVETEST_APITOKEN: ${{ steps.target.outputs.token }} diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index b89a8a3..3f91a56 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -8,6 +8,7 @@ on: jobs: pester-tests: + timeout-minutes: 15 strategy: fail-fast: false matrix: @@ -110,6 +111,9 @@ jobs: - name: Run Pester tests (PS 7.x) if: matrix.ps_version != '5.1' shell: pwsh + env: + DOTNET_ROOT: '' + DOTNET_MULTILEVEL_LOOKUP: '' run: | Import-Module Pester -MinimumVersion 5.0 $config = New-PesterConfiguration