ci: add cross-platform test matrix (macos + windows + linux)#17
Merged
Conversation
Every PR and every push to main now runs typecheck + lint + test + build across ubuntu-latest, macos-latest, and windows-latest in parallel. Catches platform regressions (Windows path separators, macOS case folding, Linux XDG paths) before they land rather than after a release tag. Existing release.yml is unchanged — it still handles tag-push publishing and runs its own test gate on ubuntu-latest inside prepublishOnly. This workflow sits on top, keeping main green across all three platforms between releases. Lands standalone on the v0.2.5 baseline so we have a confirmed green cross-platform baseline before any v0.3.0 feature work. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
Today we have no cross-OS CI at all. A Windows-only or macOS-only regression could sit in main for weeks unnoticed. The upcoming `vault.*` feature (v0.3.0) introduces `os.homedir()` + `process.platform` branching for Obsidian's `obsidian.json` discovery — exactly the kind of code that silently breaks on one OS if you only test on another.
Cost
Test plan
🤖 Generated with Claude Code