Skip to content

ci: avoid test runner hangs by removing swift test --parallel#6

Merged
oscarcv merged 6 commits intomainfrom
feat/nightly-cli-brew-tap
Feb 20, 2026
Merged

ci: avoid test runner hangs by removing swift test --parallel#6
oscarcv merged 6 commits intomainfrom
feat/nightly-cli-brew-tap

Conversation

@oscarcv
Copy link
Owner

@oscarcv oscarcv commented Feb 20, 2026

Summary

Fixes CI jobs hanging during test execution by removing explicit SwiftPM parallel test mode from the CI workflow.

Problem

Some GitHub macOS runners can stall for minutes when running:

swift test --parallel

even when local execution completes normally.

Change

Updated CI test step to run:

swift test

instead of:

swift test --parallel

File changed:

  • .github/workflows/ci.yml

Why this works

  • Swift Testing already supports parallel execution internally.
  • Removing top-level --parallel avoids known runner-level scheduling/hanging behavior in certain environments.
  • Keeps test coverage and behavior unchanged while improving CI reliability.

Scope

  • CI workflow only.
  • No production/runtime code changes.

Validation

  • Verified local test run passes with:

swift test

  • Change pushed to the PR branch and ready to rerun in Actions.

@oscarcv oscarcv merged commit 10c4380 into main Feb 20, 2026
1 check passed
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