mirror of
https://github.com/Yamato-Security/WELA.git
synced 2026-11-01 18:58:16 +01:00
Run configuration checks with explicit PowerShell shells
This commit is contained in:
1 parent
1ae4930438
commit
36c4b4018f
1 file changed
+10
-7
@@ -9,14 +9,17 @@ permissions:
|
||||
jobs:
|
||||
configuration-results:
|
||||
runs-on: windows-latest
|
||||
strategy:
|
||||
matrix:
|
||||
shell: [powershell, pwsh]
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- name: Mocked regression tests (no Windows configuration changes)
|
||||
shell: ${{ matrix.shell }}
|
||||
- name: Mocked regressions in Windows PowerShell 5.1
|
||||
shell: powershell
|
||||
run: ./tests/Test-ConfigurationResults.ps1
|
||||
- name: Real Windows read-only smoke tests
|
||||
shell: ${{ matrix.shell }}
|
||||
- name: Read-only Windows smoke in Windows PowerShell 5.1
|
||||
shell: powershell
|
||||
run: ./tests/Test-ConfigurationReadOnlyWindows.ps1
|
||||
- name: Mocked regressions in PowerShell 7
|
||||
shell: pwsh
|
||||
run: ./tests/Test-ConfigurationResults.ps1
|
||||
- name: Read-only Windows smoke in PowerShell 7
|
||||
shell: pwsh
|
||||
run: ./tests/Test-ConfigurationReadOnlyWindows.ps1
|
||||
Reference in new issue
Block a user