Skip to content

ci: test on macOS and Windows with Python 3.14 - #295

Merged
rafaelha merged 4 commits into
mainfrom
ci/macos-windows
Nov 12, 2026
Merged

rafaelha merged 4 commits into
mainfrom
ci/macos-windows

Conversation

@rafaelha

@rafaelha rafaelha commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

CI ran only on ubuntu-latest, although the package claims to run on any operating system, and the Metal backend (#290) was never installed or imported in CI.

  • Adds macos-latest (arm64, so pyobjc-framework-Metal is installed) and windows-latest to the test matrix, for Python 3.14 only. Version-specific failures already show up on the four Linux jobs.
  • fail-fast: false, so one OS failing does not cancel the others.
  • Steps run in bash on every OS (Git Bash on Windows) so the existing commands work unchanged.
  • On macOS, a step prints runtime.unavailable(). On the standard runner it reports the Metal executor needs an Apple GPU (Apple silicon) (the runner has an Apple Paravirtual device), so test/integration/test_metal_sampler.py still skips there.

Fixes that Windows needed:

  • tesseract-decoder has no Windows wheels; the dev dependency is now limited to sys_platform != 'win32' (uv.lock updated). test_skills.py already skips decoders it cannot import.
  • test/unit/test_dev_cli.py skips on Windows: the tsim-dev CLI imports fcntl and is POSIX-only.
  • test_skills.py reads the skill's Markdown as UTF-8; Windows defaulted to cp1252 and failed on non-ASCII characters.

Coverage upload is unchanged (Linux, 3.12). No user-visible change, so no changelog entry.

🤖 Generated with Claude Code

Run the test suite on macos-latest (arm64, which installs the Metal backend)
and windows-latest for the newest Python only, without fail-fast, and print
whether Metal can run on the macOS runner.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T21:16:31.067798Z ee83d51 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

rafaelha and others added 2 commits November 12, 2026 16:16
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Nov 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

…ult to

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

☂️ Code Coverage

current status: ✅

Overall Coverage

Statements Covered Coverage Threshold Status
6271 5201 83% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 8a88784 by action🐍

@rafaelha
rafaelha merged commit 65c00d6 into main Nov 12, 2026
13 checks passed
@rafaelha
rafaelha deleted the ci/macos-windows branch November 12, 2026 21:45
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