]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-144492: Fix `process_changed_files` outputs for `reusable-{macos, wasi}.yml` ...
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Mon, 9 Feb 2026 17:30:19 +0000 (17:30 +0000)
committerGitHub <noreply@github.com>
Mon, 9 Feb 2026 17:30:19 +0000 (19:30 +0200)
Fix `process_changed_files` double-processing reusable-{macos, wasi] ending up with incorrect outputs

Tools/build/compute-changes.py

index 08aba5ef5423fe6fc5ce7234c895175fd358bb5c..00fd0edd8537bf55a8efc21fe988c14f22ac07c6 100644 (file)
@@ -232,9 +232,12 @@ def process_changed_files(changed_files: Set[Path]) -> Outputs:
             if file.name == "reusable-windows-msi.yml":
                 run_windows_msi = True
             if file.name == "reusable-macos.yml":
+                run_tests = True
                 platforms_changed.add("macos")
             if file.name == "reusable-wasi.yml":
+                run_tests = True
                 platforms_changed.add("wasi")
+            continue
 
         if not doc_file and file not in RUN_TESTS_IGNORE:
             run_tests = True