Add CI pipeline for format, clippy, and test#42
Merged
ScottMorris merged 3 commits intomainfrom Mar 18, 2026
Merged
Conversation
Add format, clippy, and nextest jobs that run on every pull request and push to main, matching the org CI pattern from emoji-nook and tauri-plugins-workspace. Includes JUnit test reporting, per-job summaries, and a bot comment on PRs with the outcome of each check. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Flow Tests85 tests 85 ✅ 0s ⏱️ Results for commit f2da239. ♻️ This comment has been updated with latest results. |
dorny/test-reporter only matches files from git ls-files, so it cannot see the JUnit XML in target/ (gitignored). The EnricoMi publish-unit-test-result-action already covers test result reporting. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
CI check summary
|
The junit.path in nextest config is relative to the profile output directory (target/nextest/ci/), not the workspace root. Use just "junit.xml" so the file lands at target/nextest/ci/junit.xml where the workflow expects it. Co-Authored-By: Claude Opus 4.6 <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
.github/workflows/ci.ymlwith four jobs: Format, Clippy, Test, and PR summarymain, push tomain, and manual dispatchubuntu-24.04runners withdtolnay/rust-toolchain@masterpinned to workspacerust-version(1.94)cargo nextestwith JUnit XML output, reported byEnricoMi/publish-unit-test-result-actionanddorny/test-reporter.config/nextest.toml(CI profile for JUnit output path).node-versionto control the GitHub Actions Node runtime without theFORCE_JAVASCRIPT_ACTIONS_TO_NODE24env hackFollows the org CI pattern established in emoji-nook and tauri-plugins-workspace.
Test plan
mainRelated
🤖 Generated with Claude Code