fix(ci): use --no-project in docs workflow mike commands#887
Merged
Conversation
The docs workflow was failing because uv sync --extra dev installs onnxruntime-windowsml which is Windows-only and unavailable on the Ubuntu runner. Add a dedicated 'docs' dependency group with only the packages needed for building docs.
uv sync --group docs still resolves project dependencies (including onnxruntime-windowsml). Using --only-group docs installs only the docs group packages without the project or its dependencies.
Remove verbose admonitions (What just happened, CI/CD integration, --no-quant explanation, compile disabled note) and intro paragraph. Keep the page focused on the essential steps.
# Conflicts: # .github/workflows/docs.yml
uv run without --no-project tries to install the project package, which pulls in onnxruntime-windowsml (Windows-only). Adding --no-project tells uv to run mike from the already-synced environment without installing the project.
xieofxie
approved these changes
Jun 12, 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.
uv run mike tries to install the project (pulling onnxruntime-windowsml). Adding --no-project runs mike from the synced env without installing the project. Tested locally: mike deploy and set-default both succeed.