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.
This commit is contained in:
parent
21298237e2
commit
da4f5bdaef
|
@ -120,7 +120,7 @@ def set_docs_to_build(build_all):
|
|||
doc_match = build_all
|
||||
if not build_all:
|
||||
doc_pattern = re.compile(
|
||||
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))$"
|
||||
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))$"
|
||||
)
|
||||
for p in changed_files:
|
||||
if doc_pattern.search(p):
|
||||
|
|
Loading…
Reference in New Issue