Skip to content

ci: test on macOS too - #3

Merged
rigidlab merged 2 commits into
mainfrom
ci/macos
Aug 20, 2026
Merged

rigidlab merged 2 commits into
mainfrom
ci/macos

Conversation

@rigidlab

Copy link
Copy Markdown
Owner

Adds macos-latest to the test matrix.

macOS takes the posix PTY path — ptyprocess, $SHELL — the same one
verified under WSL, so the suite is expected to pass. It has never actually
been run there, which is the point of this PR.

Known gaps this will not catch, because they are missing features rather
than failures: known_shells() returns [] off Windows, so File → New
Terminal
offers only "Default Shell"; and the split shortcuts use
Alt+Shift+…, which is Option on macOS.

🤖 Generated with Claude Code

https://claude.ai/code/session_01M8UgLA68nRCYg3qFTyW8ms

The order in a Manage dialog is the order they appear in - the Macros menu,
the right-click Command submenu, the sidebar - and it was the one property
of a preset you could not set.

PresetStore.swap() rather than a move: one list holds all three categories
interleaved, so the two entries being exchanged are neighbours within their
category but rarely adjacent in the file. Swapping positions leaves every
other preset untouched, and a test asserts Commands do not shuffle when a
Macro moves past another.

Offered for all three categories rather than Macros alone: same dialog, same
code, and "why can I order Macros but not Commands?" is a worse answer than
the feature.

Code assisted by Opus 5.
The code takes the posix path there - ptyprocess, $SHELL - which is the same
one verified on Linux, so it should work. Nobody has ever run it on a Mac,
which is the only reason that sentence has a "should" in it.

Code assisted by Opus 5.
@rigidlab
rigidlab merged commit e0d18da into main Aug 20, 2026
4 checks passed
@rigidlab
rigidlab deleted the ci/macos branch August 20, 2026 04:55
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