Skip to content

fix: split CI test jobs to avoid matrix.shell in shell: field#11

Merged
yfridelance merged 1 commit into
developfrom
fix/ci-shell-no-matrix
Feb 26, 2026
Merged

fix: split CI test jobs to avoid matrix.shell in shell: field#11
yfridelance merged 1 commit into
developfrom
fix/ci-shell-no-matrix

Conversation

@yfridelance
Copy link
Copy Markdown
Owner

Summary

  • GitHub Actions does not support matrix variables in the step shell: property (Unrecognized named-value: matrix)
  • Split the single test job into two jobs with fixed defaults.run.shell:
    • test-pwsh: ubuntu + windows matrix with shell: pwsh
    • test-ps51: windows-only with shell: powershell (5.1)
  • build-and-publish now depends on both: needs: [test-pwsh, test-ps51]

Test plan

  • Workflow file passes GitHub Actions validation on push
  • All three test combinations run (ubuntu/pwsh, windows/pwsh, windows/ps5.1)

🤖 Generated with Claude Code

GitHub Actions does not support matrix variables in the step-level
'shell:' property. Split the test job into test-pwsh (ubuntu+windows
matrix with defaults.run.shell: pwsh) and test-ps51 (windows-only
with defaults.run.shell: powershell). Build-and-publish now depends
on both test jobs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@yfridelance yfridelance merged commit 82296ba into develop Feb 26, 2026
@yfridelance yfridelance deleted the fix/ci-shell-no-matrix branch February 26, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant