Skip to content

fix(ci): use --no-project in docs workflow mike commands#887

Merged
DingmaomaoBJTU merged 6 commits into
mainfrom
fix/docs-ci-deps
Jun 12, 2026
Merged

fix(ci): use --no-project in docs workflow mike commands#887
DingmaomaoBJTU merged 6 commits into
mainfrom
fix/docs-ci-deps

Conversation

@DingmaomaoBJTU

Copy link
Copy Markdown
Collaborator

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.

github-actions Bot added 6 commits June 12, 2026 15:38
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.
@DingmaomaoBJTU DingmaomaoBJTU requested a review from a team as a code owner June 12, 2026 08:30
@DingmaomaoBJTU DingmaomaoBJTU enabled auto-merge (squash) June 12, 2026 08:40
@DingmaomaoBJTU DingmaomaoBJTU merged commit dd00e7a into main Jun 12, 2026
13 of 14 checks passed
@DingmaomaoBJTU DingmaomaoBJTU deleted the fix/docs-ci-deps branch June 12, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants