Skip to content

Commit 5a2eb22

Browse files
authored
Merge pull request #7370 from bablokb/ignore-devcontainer
ignore .devcontainer/*
2 parents dbd8d32 + 868a983 commit 5a2eb22

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tools/ci_set_matrix.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@
5858
"tools/ci_check_duplicate_usb_vid_pid.py",
5959
]
6060

61+
# Files in these directories never influence board builds
62+
IGNORE_DIRS = ["tests", "docs", ".devcontainer"]
63+
6164
if len(sys.argv) > 1:
6265
print("Using files list on commandline")
6366
changed_files = sys.argv[1:]
@@ -149,8 +152,7 @@ def get_settings(board):
149152
if p in IGNORE:
150153
continue
151154

152-
# 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)