ci: split ci.yml into reusable _checks.yml#115
Merged
Conversation
Mirror modern-di's structural split: ci.yml is now a thin trigger wrapper (push to main, pull_request, concurrency group) that calls _checks.yml via workflow_call. _checks.yml holds the actual lint and pytest jobs. Both files are byte-identical to their modern-di counterparts (no divergence in steps, action versions, matrix, or caching). Sets the shape up to add more callers later (e.g., a nightly schedule) without duplicating job definitions. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This was referenced Jun 9, 2026
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
Structural mirror of
modern-di's CI shape:ci.ymlbecomes a thin trigger wrapper (push tomain,pull_request, concurrency group) that delegates to_checks.yml._checks.ymlis a reusable workflow (on: workflow_call) holding thelintandpytestjobs.Both files are now byte-identical to their modern-di counterparts:
Why
Behaviour change
None. Same triggers, same concurrency group, same jobs, same steps, same matrix. The split is purely a
workflow_callindirection.Test plan
lintandpytest(5-Python matrix) reusable jobs should run via thecheckscaller inci.yml.🤖 Generated with Claude Code