You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: test-docs lane skips on docs-only PRs (needs python-lint-types, which skips) #2018
PR #2017 changes only docs/source/** and CHANGELOG.md. The changes job sets docs=true, and test-docs has the intended condition (docs == 'true' && narrow_python_only != 'true'), but the job is still skipped.
Cause: test-docs declares needs: [changes, python-lint-types, docs-latex-unicode-guard] (.github/workflows/ci.yml line ~2048). python-lint-types skips when no Python changed, and a skipped needs dependency skips the dependent job regardless of its if: unless the condition includes always() / !cancelled().
Result: docs-only PRs never run the Sphinx build in CI. The Read the Docs PR preview is the only build signal.
Fix options
Add !cancelled() && to the test-docsif: and check needs.python-lint-types.result is success or skipped, or
drop python-lint-types from needs for test-docs (the docs build does not depend on lint).
Activity
lmeyerov commentedon Sep 5, 2026
Fix: #2041 (ci: run test-docs on docs-only pull requests) — 78/78 green, MERGEABLE on master, awaiting merge. Closes on merge.
Merge pull request #2041 from graphistry/fix/ci-test-docs-on-docs-onl…
ci: run test-docs on docs-only pull requests (graphistry#2018)