mirror of
https://github.com/Yamato-Security/WELA.git
synced 2026-10-24 15:08:08 +02:00
Verify configure changes and propagate per-control failures
This commit is contained in:
1 parent
8ef938f096
commit
1ae4930438
7 files changed
+601
-346
No files matched your search
@@ -0,0 +1,22 @@
|
||||
name: Configuration result regressions
|
||||
on:
|
||||
push:
|
||||
branches: ['**']
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
permissions:
|
||||
contents: read
|
||||
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 }}
|
||||
run: ./tests/Test-ConfigurationResults.ps1
|
||||
- name: Real Windows read-only smoke tests
|
||||
shell: ${{ matrix.shell }}
|
||||
run: ./tests/Test-ConfigurationReadOnlyWindows.ps1
|
||||
@@ -38,6 +38,7 @@ jobs:
|
||||
mkdir -p release-binaries
|
||||
Copy-Item -Path WELA.ps1 -Destination release-binaries/
|
||||
Copy-Item -Recurse -Path ./config -Destination release-binaries/
|
||||
Copy-Item -Recurse -Path ./scripts -Destination release-binaries/
|
||||
|
||||
- name: Set Artifact Name
|
||||
if: contains(matrix.info.os, 'windows') == true
|
||||
|
||||
Reference in new issue
Block a user