Skip to content

Commit da4f5bd

Browse files
committed
fix ci matrix when ulab is modified
When the submodule is modified, the modified 'filename' is simply the submodule path `extmod/ulab`, not the specific file(s) in the submodule that are modified.
1 parent 2129823 commit da4f5bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/ci_set_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def set_docs_to_build(build_all):
120120
doc_match = build_all
121121
if not build_all:
122122
doc_pattern = re.compile(
123-
r"^(?:docs|(?:(?:extmod\/ulab|ports\/\w+\/bindings|shared-bindings)\S+\.c|conf\.py|tools\/extract_pyi\.py|requirements-doc\.txt)$)|(?:-stubs|\.(?:md|MD|rst|RST))$"
123+
r"^(?:docs|extmod/ulab|(?:(?:ports\/\w+\/bindings|shared-bindings)\S+\.c|conf\.py|tools\/extract_pyi\.py|requirements-doc\.txt)$)|(?:-stubs|\.(?:md|MD|rst|RST))$"
124124
)
125125
for p in changed_files:
126126
if doc_pattern.search(p):

0 commit comments

Comments
 (0)