Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Stop changes to Tools/check-c-api-docs/ignored_c_api.txt triggering r…
…un-tests
  • Loading branch information
StanFromIreland committed Jan 8, 2026
commit d9d85cd1816353e115d96cd1baf6e29ccbd5e7ba
5 changes: 5 additions & 0 deletions Tools/build/compute-changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
GITHUB_CODEOWNERS_PATH = Path(".github/CODEOWNERS")
GITHUB_WORKFLOWS_PATH = Path(".github/workflows")

RUN_TESTS_IGNORE = frozenset({
Path("Tools/check-c-api-docs/ignored_c_api.txt"),
})

CONFIGURATION_FILE_NAMES = frozenset({
".pre-commit-config.yaml",
".ruff.toml",
Expand Down Expand Up @@ -176,6 +180,7 @@ def process_changed_files(changed_files: Set[Path]) -> Outputs:
doc_file
or file == GITHUB_CODEOWNERS_PATH
or file.name in CONFIGURATION_FILE_NAMES
or file in RUN_TESTS_IGNORE
):
run_tests = True

Expand Down
Loading