Skip to content

app-build: run StrandTests on the macOS Strand leg (app-target test gate) - #606

Closed
ryanbr wants to merge 1 commit into
mainfrom
ci/app-build-run-strandtests
Closed

ryanbr wants to merge 1 commit into
mainfrom
ci/app-build-run-strandtests

Conversation

@ryanbr

@ryanbr ryanbr commented Jul 19, 2026

Copy link
Copy Markdown
Owner

app-build.yml was compile-only (xcodebuild … build), which left a gap: the app-target unit tests in StrandTests never ran anywhere. swift-packages only covers Packages/**, and this workflow only built — so pure app-target logic tests (backfill-continuation predicate #594, scheduled-report / strain-target policy #517/#593, etc.) had been merged compiled but never executed.

Change

Adds a macOS-only test step after the build: xcodebuild -scheme Strand -destination 'platform=macOS' test. StrandTests is hosted in the macOS app (project.yml wires it into the Strand scheme's test action), so:

  • Strand (macOS) leg: builds universal (unchanged) + runs StrandTests.
  • NOOPiOS leg: stays compile-only (no iOS test target).

Uses a concrete runnable platform=macOS destination for test (the existing build step keeps its universal generic/platform=macOS + ARCHS for the x86_64 verify). On-demand only, like the rest of this disabled-by-default workflow.

Why now

Dispatched on this branch to actually run it — this is the first execution of the app-target test backlog. If green, it clears the long-standing "compiled but never run" caveat on every app-target Swift PR this cycle.

…ate)

app-build.yml was compile-only, so the app-target unit tests (StrandTests —
backfill-continuation, scheduled-report/strain-target policy, the extended-
battery formatter twin, etc.) never ran anywhere: swift-packages can't reach
them and this was build-only. Add a macOS-only test step (StrandTests is hosted
in the macOS app; NOOPiOS stays compile-only) with a concrete runnable
destination. On-demand, same as the rest of this workflow.
@github-actions
github-actions Bot deleted the ci/app-build-run-strandtests branch July 19, 2026 04:50
@ryanbr

ryanbr commented Jul 19, 2026

Copy link
Copy Markdown
Owner Author

Superseded by a non-ci/ branch — the app-build cleanup job auto-deletes ci/-prefixed branches, which broke this PR's head ref mid-merge.

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