Skip to content

Commit f97925c

Browse files
committed
ignore .devcontainer/*
1 parent 2a1bb72 commit f97925c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/ci_set_matrix.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@
5858
"tools/ci_check_duplicate_usb_vid_pid.py",
5959
]
6060

61+
IGNORE_DIRS = ["tests", "docs", ".devcontainer"]
62+
6163
if len(sys.argv) > 1:
6264
print("Using files list on commandline")
6365
changed_files = sys.argv[1:]
@@ -150,7 +152,7 @@ def get_settings(board):
150152
continue
151153

152154
# Boards don't run tests or docs so ignore those as well.
153-
if p.startswith("tests") or p.startswith("docs"):
155+
if any([p.startswith(d) for d in IGNORE_DIRS]):
154156
continue
155157

156158
# As a (nearly) last resort, for some certain files, we compute the settings from the

0 commit comments

Comments
 (0)