Repository navigation
refactor(tools): move test_template.py into tools/ci, drop template_smoke.sh - #3
Merged
Merged
Conversation
Move test_template.py, check_mwrap_release.py and template_smoke.sh next to the other CI entry points, adjust their repository-root resolution, and update the workflows, package-source.sh, .gitignore and architecture docs.
…in tools/ template_smoke.sh only forwarded to test_template.py and had no callers. check_mwrap_release.py is also run by tools/package-source.sh, so it is not CI-only and stays at its original path.
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
tools/test_template.pyintotools/ci/next toverify_generated.pyandupdate_mcpp_index.py; it is only run by theexamplesjob intests.yml. Repository root is now resolved viaparents[2].tools/template_smoke.sh. Since the mwrap migration it onlyexecedtest_template.py, and nothing (CI, scripts, docs) called it.tools/check_mwrap_release.pystays where it is: besides CI andrelease.yml,tools/package-source.shruns it too.tests.yml, the.gitignorecomment anddocs/architecture{,.zh}.md.Test plan
python3 tools/ci/test_template.py --helppython3 tools/check_mwrap_release.pyunchanged and passing ([email protected])examplesjob (template smoke) green