Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.
fix(ci): invoke matrix PowerShell runtimes from a static runner
Seth Wilson9f080fcd3ecc
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 41a20d3e..650ec2fd 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -410,7 +410,7 @@ jobs:- uses: actions/checkout@v4- name: Build a fake release directory (real stub exe) and serve it as application/octet-stream- shell: ${{ matrix.shell }}+ shell: powershellrun: |$ErrorActionPreference = 'Stop'$rel = Join-Path $env:RUNNER_TEMP 'fake-release\v9.9.9'@@ -456,15 +456,19 @@ jobs:if (-not $ok) { throw 'fake release server did not come up' }- name: Check latest-version resolution and piped dev installer- shell: ${{ matrix.shell }}- run: ./scripts/test-installer-helpers.ps1 -LatestUri http://127.0.0.1:8765/cosmicstack-labs/mercury-agent/releases/latest+ shell: powershell+ run: |+ # shell: does not accept the matrix context; invoke the selected+ # interpreter explicitly so both PowerShell runtimes are exercised.+ & '${{ matrix.shell }}' -NoProfile -ExecutionPolicy Bypass -File scripts/test-installer-helpers.ps1 -LatestUri http://127.0.0.1:8765/cosmicstack-labs/mercury-agent/releases/latest+ if ($LASTEXITCODE -ne 0) { throw 'installer helper checks failed' }- name: Verify failed updates preserve the previous installation- shell: ${{ matrix.shell }}+ shell: powershellrun: python scripts/test-installers.py --shell ${{ matrix.shell }} -v- name: Run install.ps1 from disk- shell: ${{ matrix.shell }}+ shell: powershellenv:MERCURY_VERSION: 9.9.9MERCURY_DOWNLOAD_BASE: http://127.0.0.1:8765@@ -476,7 +480,7 @@ jobs:"PSVersion: $($PSVersionTable.PSVersion)"$log = Join-Path $env:RUNNER_TEMP 'install.log'# From disk (not irm | iex): also proves the file parses without a BOM under the ANSI code page.- & (Get-Process -Id $PID).Path -NoProfile -ExecutionPolicy Bypass -File scripts\install.ps1 2>&1 | Tee-Object -FilePath $log+ & '${{ matrix.shell }}' -NoProfile -ExecutionPolicy Bypass -File scripts\install.ps1 2>&1 | Tee-Object -FilePath $logif ($LASTEXITCODE -ne 0) { throw "install.ps1 exited $LASTEXITCODE" }if (-not (Select-String -Path $log -Pattern 'Checksums verified' -Quiet)) { throw 'no "Checksums verified" in output' }if (-not (Select-String -Path $log -Pattern 'Smoke test passed' -Quiet)) { throw 'no "Smoke test passed" in output' }