Skip to content

Add CI: run the Linux-portable ContinuityCore tests on every PR - #78

Merged
sanylax0 merged 1 commit into
mainfrom
claude/repo-review-improvements-yvk3t7-ci-core-tests
Jul 18, 2026
Merged

sanylax0 merged 1 commit into
mainfrom
claude/repo-review-improvements-yvk3t7-ci-core-tests

Conversation

@sanylax2

Copy link
Copy Markdown
Collaborator

What

The repo has ~127 ContinuityCore unit tests and no CI at all — nothing runs them on PRs. AGENTS.md already documents the exact Linux-compatible recipe; this turns it into a GitHub Actions workflow.

How

.github/workflows/core-tests.yml (PRs + pushes to main), running in the swift:6.0 container: it assembles a throwaway SwiftPM package from the ContinuityCore sources/tests minus the Accelerate-dependent files (BeatTracker/KeyDetector and their three test files), then swift test. That's 111 of the test cases — Camelot/flow ordering, crossfade curves, transition plan, loudness, silence trimming, YouTube/Spotify URL and page parsing — on every PR. The BPM/key suites still require a Mac, as documented.

Testing

The assembly recipe mirrors AGENTS.md's documented (and previously exercised) subset; the first run on this PR is itself the validation.

🤖 Generated with Claude Code

https://claude.ai/code/session_013TJoWkqg8bzkGdzxWhWjWP


Generated by Claude Code

The repo had no CI despite ~127 unit tests. Following the AGENTS.md
recipe, assemble a throwaway package from the non-Accelerate sources
and run swift test on Linux — 111 of the cases (parsers, Camelot, flow
ordering, curves, transition plan, loudness, silence trimming) run on
every PR; the Accelerate-backed BPM/key suites still need a Mac.
@sanylax2
sanylax2 marked this pull request as ready for review July 18, 2026 16:04

@sanylax0 sanylax0 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

goated play tbh

@sanylax0
sanylax0 merged commit 6023137 into main Jul 18, 2026
1 of 4 checks 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.

3 participants