Skip to content

ci: expand test matrix across platforms#39

Merged
chiimagnus merged 5 commits intomainfrom
codex/update-test.yml-to-use-matrix-for-os
Jan 16, 2026
Merged

ci: expand test matrix across platforms#39
chiimagnus merged 5 commits intomainfrom
codex/update-test.yml-to-use-matrix-for-os

Conversation

@chiimagnus
Copy link
Copy Markdown
Owner

Motivation

  • Run the project's test suite across macOS, Ubuntu and Windows runners to validate cross-platform Swift behavior.
  • Ensure swift test runs properly on Windows by forcing the step to use the bash shell when needed.

Description

  • Change runs-on to use the matrix value �${{ matrix.os }} and add a strategy.matrix.os containing macos-latest, ubuntu-latest, and windows-latest.
  • Keep swift-actions/setup-swift@v2 with swift-version: '6.2' to maintain the Swift toolchain setup across platforms.
  • Split the test step into two conditional steps so non-Windows platforms run swift test normally and Windows runs swift test with shell: bash.

Testing

  • No automated tests were executed locally because this change only updates the CI workflow file.
  • CI is expected to run swift test on each matrix entry (macOS, Ubuntu, Windows) when the workflow executes.

Codex Task

@chiimagnus chiimagnus marked this pull request as ready for review January 16, 2026 07:44
@chiimagnus chiimagnus merged commit 5d22cef into main Jan 16, 2026
1 of 6 checks passed
@chiimagnus chiimagnus deleted the codex/update-test.yml-to-use-matrix-for-os branch January 16, 2026 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant