CI: consolidate pipeline and adopt version-switcher v0.18.0 - #94
Merged
Conversation
Modernise the Python harness and CI in one piece of work: - Add a uv/pyproject dev environment (pyproject.toml + uv.lock); lint the python/ + tests/ harness with ruff via `make lint`, with the ruff fixes applied. - Consolidate CI into a single ci.yml that orchestrates reusable _lint.yml and _test.yml, replacing the separate code.yml / tests.yml workflows. - Consume the shared myst-version-switcher reusable workflows at v0.18.0: docs.yml and release.yml directly, and publish.yml via a new local publish-dispatch.yml shim. This replaces the direct publish.yml@v0.7.0 call and the preview-fork.yml dispatcher; the shim is the dispatchable file the tag re-dispatch re-fires (so publish needs actions: write), and publish.yml now owns the deploy / tag-re-dispatch / fork-warn branching (no fork guard in ci.yml). - Bump the version-switcher plugin to v0.18.0 in docs/myst.yml and drop logo_text. Co-Authored-By: Claude Opus 4.8 <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.
Fixes #92, and upgrades the docs pipeline to the version-switcher v0.18.0
reusable-workflow model (from the
publish.yml@v0.7.0-called-directly model onmain) — the same piece of work.What changed
pyproject.toml+uv.lock; lintpython/+tests/with ruff viamake lint(ruff fixes applied across the harness).ci.ymlorchestrating reusable_lint.ymland_test.yml, replacing the separatecode.yml/tests.yml.docs.ymlandrelease.ymldirectly at@v0.18.0, andpublish.ymlvia a new localpublish-dispatch.ymlshim. Thisreplaces the direct
publish.yml@v0.7.0call and thepreview-fork.ymldispatcher:the shim is the dispatchable file the tag re-dispatch re-fires (so
publishnowneeds
actions: write), andpublish.ymlowns the deploy / tag-re-dispatch /fork-warn branching (no fork guard in
ci.yml).docs/myst.yml— bump the plugin tov0.18.0; droplogo_text(logo only).Notes
docs; sincedocs→mainalready merged (Docs → main on shared version-switcher CI (v0.7.0) #93),this targets
maininstead — same goal.pytest/[tool.pytest.ini_options]from Add uv-managed pyproject.toml + consolidate CI into ci.yml #92's prose are intentionally omitted:the server's tests run via
make -C tests(a socket regression harness), not pytest.mainis already durable in the deployed site (_sources/main.ziplive, Pages onGitHub Actions), so
guard-default-branchis left at its default (true).served the
pr-94preview; merging redeploys frommain.🤖 Generated with Claude Code