Skip to content

fix ci paths-filter so docs-only prs skip pytest#139

Merged
HumanBean17 merged 1 commit into
masterfrom
bugfix/tests-run-on-docs-pr
May 15, 2026
Merged

fix ci paths-filter so docs-only prs skip pytest#139
HumanBean17 merged 1 commit into
masterfrom
bugfix/tests-run-on-docs-pr

Conversation

@HumanBean17
Copy link
Copy Markdown
Owner

Summary

  • Fix dorny/paths-filter code rules: standalone !tests/**/*.md / !automation/**/*.md lines match almost every path when predicate-quantifier is some, so pytest kept running on docs-only PRs.
  • Replace them with positive globs: **/*.py, deps/config, .github/workflows/**, tests/fixtures/**, tests/bank-chat-system/**, and tests/pytest.ini. Markdown under tests/ alone no longer triggers the suite.

Test plan

  • Confirm a docs-only PR shows Skip tests (docs-only) and does not run pytest.
  • Confirm a change under tests/fixtures/ or .py still runs the full job.

Made with Cursor

Replace negated picomatch rules (matched almost all paths under 'some') with
positive code globs: python, deps/config, workflows, test fixtures/corpus,
and tests/pytest.ini. Markdown-only tests docs no longer trigger the suite.

Co-authored-by: Cursor <cursoragent@cursor.com>
@HumanBean17 HumanBean17 merged commit cd6f574 into master May 15, 2026
1 check passed
@HumanBean17 HumanBean17 deleted the bugfix/tests-run-on-docs-pr branch May 23, 2026 16:22
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.

1 participant