You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test-pwsh CI matrix job in .github/workflows/ci.yml only ran PowerShell Core tests on ubuntu-latest and windows-latest, leaving macOS platform-specific behavior (paths, filesystem, encoding) unverified.
Change summary
Added macos-latest to the os matrix in the test-pwsh job. This reuses the existing PSEdition/version verification and Pester 5.x test steps with no other changes — Ubuntu, Windows Core, and Windows PowerShell 5.1 jobs are unaffected.
Limitations
This PR only touches the CI workflow matrix; it does not modify the module code. If macOS-specific test failures surface once this job runs, follow-up fixes to the module may be required.
I could not execute the actual macOS GitHub Actions runner from this sandbox; the acceptance criterion of the Pester suite passing on macos-latest will be validated when this PR runs in CI.
The push was rejected because GitHub Actions does not have workflows permission to push these changes, and is never allowed to make such changes, or other authorization being used does not have this permission.
Create the pull request manually
# Download the patch from the workflow run
gh run download 31410216190 -n agent -D /tmp/agent-31410216190
# Create a new branch
git checkout -b feature/issue-78-macos-ci-matrix-2da73e3fc5552ed9 main
# Apply the patch (--3way handles cross-repo patches)
git am --3way /tmp/agent-31410216190/aw-feature-issue-78-macos-ci-matrix.patch
# Push the branch and create the pull request
git push origin feature/issue-78-macos-ci-matrix-2da73e3fc5552ed9
gh pr create --title '[Repo Assist] ci: add macos-latest to PowerShell Core test matrix' --base main --head feature/issue-78-macos-ci-matrix-2da73e3fc5552ed9 --repo cocallaw/AzRetirementMonitor
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
management.azure.com
To allow these domains, add them to the network.allowed list in your workflow frontmatter:
Generated by Repo Assist 🤖 (automated assistant)
Closes #78
Root cause
The
test-pwshCI matrix job in.github/workflows/ci.ymlonly ran PowerShell Core tests onubuntu-latestandwindows-latest, leaving macOS platform-specific behavior (paths, filesystem, encoding) unverified.Change summary
Added
macos-latestto theosmatrix in thetest-pwshjob. This reuses the existing PSEdition/version verification and Pester 5.x test steps with no other changes — Ubuntu, Windows Core, and Windows PowerShell 5.1 jobs are unaffected.Limitations
macos-latestwill be validated when this PR runs in CI.Test results
Ran
Invoke-Pester ./Tests/AzRetirementMonitor.Tests.ps1locally (Linux, pwsh 7): 75 passed, 0 failed, 0 skipped.Warning
Protected Files — Push Permission Denied
This was originally intended as a pull request, but the patch modifies protected files. A human must create the pull request manually.
Protected files
The push was rejected because GitHub Actions does not have
workflowspermission to push these changes, and is never allowed to make such changes, or other authorization being used does not have this permission.Create the pull request manually
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
management.azure.comTo allow these domains, add them to the
network.allowedlist in your workflow frontmatter:See Network Configuration for more information.