Repository navigation
Deploy docs on version tags and by hand only - #9
Merged
Merged
Conversation
The docs workflow now runs on a v* tag push and on workflow_dispatch, and not on every push or pull request commit. A tag or a manual run on main deploys; a manual run on any other branch builds without deploying, which is how a pull request's docs are checked once it is ready to merge. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The resolution mode was passed to `uv sync` only. The next step, a plain `uv run pytest`, saw a lockfile written in another mode, re-resolved to the newest versions and replaced the environment, so the leg named lowest-direct tested unlocked newest versions instead. The mode is now set once as UV_RESOLUTION for the whole job. Co-Authored-By: Claude Fable 5.2 <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.
What changes
v*tag push and onworkflow_dispatchonly. It no longer runs after every benchmark run onmain, and it does not run on pull request commits.main. A manual run on any other branch builds without deploying.How to use it
docsworkflow by hand on its branch (Actions → docs → Run workflow, orgh workflow run docs --ref <branch>). The result shows on the pull request's head commit.mainas the last commit, wait fortestsandbenchmarkto finish on it, then tag. The tag's deploy then includes a benchmark point measured on the released commit.main.Benchmark data is still recorded on every push to
main; the published charts refresh at each deploy.Test matrix
A further commit makes the
lowest-directtest leg test what its name says. The resolution mode was passed touv synconly; the followinguv run pytestre-resolved to the newest versions, so the declared dependency floors were never tested. The mode is now set once for the whole job asUV_RESOLUTION. If this leg fails on this pull request, a declared floor is too low.Repository setting
The
github-pagesenvironment has av*tag rule next to its branch rules, so a tag push is allowed to deploy.Testing
The workflow file parses. It has not been run on this branch; the same form deployed the volara 2.1.0 docs from a tag.
🤖 Generated with Claude Code