mirror of
https://github.com/Yamato-Security/WELA.git
synced 2026-10-08 15:25:24 +02:00
Exercise descendant drift and use supported workflow shell dispatch
This commit is contained in:
1 parent
ea184e5e95
commit
036f51886a
2 files changed
+115
-6
No files matched your search
@@ -22,12 +22,20 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- name: Existing WMI regression contracts
|
||||
shell: ${{ matrix.shell }}
|
||||
run: ./tests/WmiNamespaceAuditing.Tests.ps1
|
||||
- name: Actual owned namespace tree and cleanup
|
||||
shell: ${{ matrix.shell }}
|
||||
run: ./tests/WmiNamespaceDescendants.Windows.Tests.ps1 -AllowDisposableNamespaceWrite -EvidencePath wmi-descendants-native.json
|
||||
- name: Native tree validation in Windows PowerShell
|
||||
if: matrix.shell == 'powershell'
|
||||
shell: powershell
|
||||
run: |
|
||||
./tests/WmiNamespaceAuditing.Tests.ps1
|
||||
./tests/WmiNamespaceDescendants.Tests.ps1
|
||||
./tests/WmiNamespaceDescendants.Windows.Tests.ps1 -AllowDisposableNamespaceWrite -EvidencePath wmi-descendants-native.json
|
||||
- name: Native tree validation in PowerShell 7
|
||||
if: matrix.shell == 'pwsh'
|
||||
shell: pwsh
|
||||
run: |
|
||||
./tests/WmiNamespaceAuditing.Tests.ps1
|
||||
./tests/WmiNamespaceDescendants.Tests.ps1
|
||||
./tests/WmiNamespaceDescendants.Windows.Tests.ps1 -AllowDisposableNamespaceWrite -EvidencePath wmi-descendants-native.json
|
||||
- name: Retain complete native observations
|
||||
if: always()
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
|
||||
Reference in new issue
Block a user