diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3e6be1591..ed99dd818 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -158,7 +158,11 @@ jobs: poetry install -E 'twisted web' - name: Install Powershell Security Module run: | - Import-Module Microsoft.PowerShell.Security + set "extractPath=C:\Program Files\PowerShell\7" + curl -sLO https://github.com/PowerShell/PowerShell/releases/download/v7.2.17/PowerShell-7.2.17-win-x64.zip + RMDIR "%extractPath%" /S /Q + 7z x PowerShell-7.2.17-win-x64.zip -o"%extractPath%" + pwsh --version - name: Integration Tests run: | $env:LIVE = 'True'