diff --git a/.github/workflows/wec-collector-observation.yml b/.github/workflows/wec-collector-observation.yml index d43580c3..dc1b3aa4 100644 --- a/.github/workflows/wec-collector-observation.yml +++ b/.github/workflows/wec-collector-observation.yml @@ -33,8 +33,13 @@ jobs: ./tests/WecSubscriptionXml.Tests.ps1 ./tests/WefDeployment.Tests.ps1 ./tests/WefDeployment.Cli.Tests.ps1 - - name: Existing read-only source and collector service preservation - shell: ${{ matrix.engine }} + - name: Existing read-only service preservation in Windows PowerShell 5.1 + if: matrix.engine == 'powershell' + shell: powershell + run: ./tests/WefDeployment.Windows.Tests.ps1 + - name: Existing read-only service preservation in PowerShell 7 + if: matrix.engine == 'pwsh' + shell: pwsh run: ./tests/WefDeployment.Windows.Tests.ps1 - name: Actual public collector observations in Windows PowerShell 5.1 if: matrix.engine == 'powershell'