mirror of
https://github.com/Yamato-Security/WELA.git
synced 2026-10-08 07:15:25 +02:00
* Add read-only native retention and collection health evidence reports * Verify retention HTML evidence across PowerShell JSON serializers * Reference PR 410 in retention changelogs * Preserve previous-report arrays on Windows PowerShell and test both server releases
43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
name: Native retention health regressions
|
|
on:
|
|
push:
|
|
branches: ['**']
|
|
pull_request:
|
|
workflow_dispatch:
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
retention-health:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [windows-2022, windows-2025]
|
|
runs-on: ${{ matrix.os }}
|
|
timeout-minutes: 15
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
- name: Safe report fixtures in Windows PowerShell 5.1
|
|
shell: powershell
|
|
timeout-minutes: 3
|
|
run: ./tests/RetentionHealth.Tests.ps1
|
|
- name: Safe report fixtures in PowerShell 7
|
|
shell: pwsh
|
|
timeout-minutes: 3
|
|
run: ./tests/RetentionHealth.Tests.ps1
|
|
- name: Public CLI guards in Windows PowerShell 5.1
|
|
shell: powershell
|
|
timeout-minutes: 3
|
|
run: ./tests/RetentionHealth.Cli.Tests.ps1
|
|
- name: Public CLI guards in PowerShell 7
|
|
shell: pwsh
|
|
timeout-minutes: 3
|
|
run: ./tests/RetentionHealth.Cli.Tests.ps1
|
|
- name: Actual read-only native adapters in Windows PowerShell 5.1
|
|
shell: powershell
|
|
timeout-minutes: 3
|
|
run: ./tests/RetentionHealth.Windows.Tests.ps1
|
|
- name: Actual read-only native adapters in PowerShell 7
|
|
shell: pwsh
|
|
timeout-minutes: 3
|
|
run: ./tests/RetentionHealth.Windows.Tests.ps1
|