From 665f6e97c0566acc836a26c6adab2d70953bbb8c Mon Sep 17 00:00:00 2001 From: Shaelz <7167970+Shaelz@users.noreply.github.com> Date: Sun, 5 Jul 2026 12:16:08 +0200 Subject: [PATCH 1/2] ci: run installer tests across platforms --- .github/workflows/installer-tests.yml | 37 +++++++++++++++++++++++++++ CHANGELOG.md | 4 ++- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/installer-tests.yml diff --git a/.github/workflows/installer-tests.yml b/.github/workflows/installer-tests.yml new file mode 100644 index 0000000..7c79b37 --- /dev/null +++ b/.github/workflows/installer-tests.yml @@ -0,0 +1,37 @@ +name: installer-tests + +on: + push: + branches: + - main + pull_request: + +permissions: + contents: read + +jobs: + bash-installer-tests: + name: Bash installer tests (Ubuntu) + runs-on: ubuntu-latest + steps: + - name: Check out repository + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - name: Run Bash installer tests + shell: bash + run: ./scripts/test-installers.sh + + powershell-installer-tests: + name: PowerShell installer tests (${{ matrix.os }}) + strategy: + fail-fast: false + matrix: + os: + - ubuntu-latest + - windows-latest + runs-on: ${{ matrix.os }} + steps: + - name: Check out repository + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - name: Run PowerShell installer tests + shell: pwsh + run: ./scripts/test-installers.ps1 diff --git a/CHANGELOG.md b/CHANGELOG.md index bd33cf1..bb97cc9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,9 @@ ## Unreleased -No changes yet. +- Run the Bash installer suite on Ubuntu and the PowerShell installer suite on + both Ubuntu and Windows through a dedicated `installer-tests` GitHub Actions + workflow. The existing shared-rule drift workflow remains separate. ## 1.1.0 - 2026-07-05 From e3614994801b3616f9ae2099a5c9978d0675e0f6 Mon Sep 17 00:00:00 2001 From: Shaelz <7167970+Shaelz@users.noreply.github.com> Date: Sun, 5 Jul 2026 12:35:00 +0200 Subject: [PATCH 2/2] fix: invoke bash installer tests explicitly --- .github/workflows/installer-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/installer-tests.yml b/.github/workflows/installer-tests.yml index 7c79b37..e6fcec8 100644 --- a/.github/workflows/installer-tests.yml +++ b/.github/workflows/installer-tests.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Run Bash installer tests shell: bash - run: ./scripts/test-installers.sh + run: bash ./scripts/test-installers.sh powershell-installer-tests: name: PowerShell installer tests (${{ matrix.os }})