Skip to content

ci: Run the daemon tests and the e2e API and Mac key specs on macOS - #45

Draft
cdamus wants to merge 1 commit into
eclipse-enclave:mainfrom
cdamus:issues/39-macos-ci
Draft

cdamus wants to merge 1 commit into
eclipse-enclave:mainfrom
cdamus:issues/39-macos-ci

Conversation

@cdamus

@cdamus cdamus commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Fixes #39

What and why

Adds a macos-15 CI job that runs the daemon's Go tests and the e2e api and ui-mac projects. Every test job ran on Ubuntu until now, so tests that fail only on a Mac went unnoticed until someone ran them there. ui-mac, from #37, runs the keyboard specs in a browser that reports macOS. The Linux job runs ui and leaves ui-mac to this one, so neither runner repeats the other's UI specs.

The new job lists failed and flaky tests the same way as the Linux e2e job. That summary moves from inline jq in ci.yml into scripts/e2e-summary.sh, which has its own test in make test and the docs job. make test needs jq for that, so make check-tools and the toolchain table in docs/DEV.md now list it.

Merge this after #30, #32, and the PRs for #36 and #37. Without them the new job fails on the untracked worktree tests, the foreground CLI terminal spec, and the e2e socket budget, and it has no ui-mac project to run. With all of them merged locally, the job's steps pass on macOS 27.2.1 with CI=true and the default TMPDIR: the daemon tests, and 412 api and ui-mac specs with 2 skipped.

Changelog

none

Checklist

  • Tests added: unit and e2e, or a regression test for a bug fix (see AGENTS.md)
  • Docs updated per the trigger table in AGENTS.md

Every CI test job ran on Ubuntu, so tests that fail only on macOS
showed up when a developer ran them on a Mac: ExecOutput hanging, the
e2e root too long for its sockets, and symlinked temp paths among them.

Add a macos-15 job that runs the daemon's Go tests and the e2e api and
ui-mac projects. ui-mac, from eclipse-enclave#37, runs the keyboard specs in a browser
that reports macOS; the Linux job runs ui and leaves ui-mac to this
one. Its results get the same summary as the Linux e2e job, so that
summary moves from inline jq into scripts/e2e-summary.sh, with a test
of its own.

That test runs in make test, which makes jq a tool every developer
needs: make check-tools and the toolchain table now list it.

Fixes eclipse-enclave#39

Signed-off-by: Christian W. Damus <cdamus@eclipsesource.com>
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.

Run the daemon tests and the e2e API specs on macOS in CI

1 participant