Skip to content

ci: run tests on macos#398

Open
kariy wants to merge 14 commits intomainfrom
chore/test-macos-2
Open

ci: run tests on macos#398
kariy wants to merge 14 commits intomainfrom
chore/test-macos-2

Conversation

@kariy
Copy link
Member

@kariy kariy commented Jan 19, 2026

This updates the test workflow to run on both Ubuntu and macOS.

kariy and others added 11 commits January 19, 2026 18:18
The rust_embed macro requires the explorer UI dist folder to exist at
compile time. On macOS, unlike Ubuntu which uses a dev container with
the explorer pre-built, we need to explicitly build it.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The download-artifact action downloads files to the current directory
by default, not preserving the original path structure. Added explicit
path parameter to download binary to target/debug/ directory.

Also fixed GITHUB_PATH usage to use proper append syntax.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Tests compile with --all-features which includes the explorer crate.
The explorer requires ui/dist to exist for the RustEmbed macro.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The katana-grpc crate requires protoc for compiling proto files.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@codecov
Copy link

codecov bot commented Jan 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.59%. Comparing base (9bde0ae) to head (7b21728).
⚠️ Report is 234 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #398      +/-   ##
==========================================
- Coverage   73.32%   72.59%   -0.73%     
==========================================
  Files         209      253      +44     
  Lines       23132    29811    +6679     
==========================================
+ Hits        16961    21641    +4680     
- Misses       6171     8170    +1999     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

kariy and others added 3 commits January 20, 2026 19:32
macOS runners are slower than Ubuntu with 32 cores, and building with
code coverage requires full compilation. 30 minutes was not enough.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Code coverage with llvm-cov requires full instrumented recompilation
which takes over 60 minutes on macOS runners. Run coverage only on
Ubuntu (32 cores) and run regular tests on macOS.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
macOS still requires a full build even without coverage instrumentation.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.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.

1 participant