From 91985cef7e9666d1f60ef6cef7f66c74896744d0 Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Fri, 14 Oct 2022 11:26:37 -0400 Subject: [PATCH] don't build other ports due to common-hal changes --- tools/ci_set_matrix.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/ci_set_matrix.py b/tools/ci_set_matrix.py index 0ae6010ac9..e165c23c27 100644 --- a/tools/ci_set_matrix.py +++ b/tools/ci_set_matrix.py @@ -53,7 +53,7 @@ def set_output(name, value): with open(os.environ["GITHUB_OUTPUT"], "at") as f: print(f"{name}={value}", file=f) else: - print("Would set GitHub actions output {name} to '{value}'") + print(f"Would set GitHub actions output {name} to '{value}'") def set_boards_to_build(build_all): @@ -80,9 +80,7 @@ def set_boards_to_build(build_all): boards_to_build = set() board_pattern = re.compile(r"^ports/[^/]+/boards/([^/]+)/") port_pattern = re.compile(r"^ports/([^/]+)/") - module_pattern = re.compile( - r"^(ports/[^/]+/common-hal|shared-bindings|shared-module)/([^/]+)/" - ) + module_pattern = re.compile(r"^(ports/[^/]+/shared-bindings|shared-module)/([^/]+)/") for p in changed_files: # See if it is board specific board_matches = board_pattern.search(p)