Skip to content

feat(ci): Add file change detection to workflows - #1

Draft
safina57 wants to merge 2 commits into
masterfrom
ci/skip-tests-on-docs-only-changes
Draft

safina57 wants to merge 2 commits into
masterfrom
ci/skip-tests-on-docs-only-changes

Conversation

@safina57

@safina57 safina57 commented Sep 16, 2026 •

Copy link
Copy Markdown
Owner

Description

Adds a files-changed job to the test orchestrator that detects whether a PR touches anything beyond docs (markdown, docs/, LICENSE, .agents/, issue templates, CODEOWNERS). Each test group, and the coverage report job, now needs it and only runs when code changed. Docs-only PRs skip every group; check-required still reports, so the required status check keeps working. Pushes to master and release branches always run the full suite.

Tested on my fork with mock PRs: a CHANGELOG.md-only change skipped all groups and the coverage report while "All tests passed" stayed green, and a pyproject.toml-only change ran the full suite.

Issues

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.

Do not run tests when only documentation is changed

1 participant