Use explicit Windows test shells and link eligibility changelog

This commit is contained in:
Shirofune-Security committed 2026-09-19 07:26:46 +09:00
1 parent d6da8f82c8
commit 781c420481
5 files changed
+18 -15

No files matched your search

+14 -11
View File
@@ -9,23 +9,26 @@ permissions:
jobs:
eligibility:
runs-on: windows-latest
strategy:
matrix:
shell: [powershell, pwsh]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Evidence gates and full-corpus bounds
shell: ${{ matrix.shell }}
run: ./tests/RuleEligibility.Tests.ps1
- name: Existing audit output remains conservative
shell: ${{ matrix.shell }}
- name: Eligibility, output and native observations in powershell
shell: powershell
run: |
./tests/RuleEligibility.Tests.ps1
./tests/NativeProviders.Tests.ps1
./tests/AuditProfileOutput.Tests.ps1
./tests/DomainNtlmAuditOutput.Tests.ps1
./WELA.ps1 rule-eligibility -ResultsPath "$env:RUNNER_TEMP/eligibility.json" -HtmlPath "$env:RUNNER_TEMP/eligibility.html"
$report = Get-Content "$env:RUNNER_TEMP/eligibility.json" -Raw | ConvertFrom-Json
if ($report.Summary.Ready -ne 0 -or -not $report.Corpus.Pinned) { throw 'Metadata-only CLI must not grant readiness.' }
./tests/NativeProviders.Windows.Tests.ps1 -OutputDirectory "$env:RUNNER_TEMP/eligibility-native-observations"
- name: Eligibility, output and native observations in pwsh
shell: pwsh
run: |
./tests/RuleEligibility.Tests.ps1
./tests/NativeProviders.Tests.ps1
./tests/AuditProfileOutput.Tests.ps1
./tests/DomainNtlmAuditOutput.Tests.ps1
- name: Public CLI and real read-only Windows observations
shell: ${{ matrix.shell }}
run: |
./WELA.ps1 rule-eligibility -ResultsPath "$env:RUNNER_TEMP/eligibility.json" -HtmlPath "$env:RUNNER_TEMP/eligibility.html"
$report = Get-Content "$env:RUNNER_TEMP/eligibility.json" -Raw | ConvertFrom-Json
if ($report.Summary.Ready -ne 0 -or -not $report.Corpus.Pinned) { throw 'Metadata-only CLI must not grant readiness.' }