Skip to content

Commit d9d85cd

Browse files
Stop changes to Tools/check-c-api-docs/ignored_c_api.txt triggering run-tests
1 parent e2f15ae commit d9d85cd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Tools/build/compute-changes.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
GITHUB_CODEOWNERS_PATH = Path(".github/CODEOWNERS")
2323
GITHUB_WORKFLOWS_PATH = Path(".github/workflows")
2424

25+
RUN_TESTS_IGNORE = frozenset({
26+
Path("Tools/check-c-api-docs/ignored_c_api.txt"),
27+
})
28+
2529
CONFIGURATION_FILE_NAMES = frozenset({
2630
".pre-commit-config.yaml",
2731
".ruff.toml",
@@ -176,6 +180,7 @@ def process_changed_files(changed_files: Set[Path]) -> Outputs:
176180
doc_file
177181
or file == GITHUB_CODEOWNERS_PATH
178182
or file.name in CONFIGURATION_FILE_NAMES
183+
or file in RUN_TESTS_IGNORE
179184
):
180185
run_tests = True
181186

0 commit comments

Comments
 (0)