Merge pull request #7370 from bablokb/ignore-devcontainer

ignore .devcontainer/*
This commit is contained in:
Dan Halbert 2022-12-21 11:32:49 -05:00 committed by GitHub
commit 5a2eb22fa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -58,6 +58,9 @@ IGNORE = [
"tools/ci_check_duplicate_usb_vid_pid.py",
]
# Files in these directories never influence board builds
IGNORE_DIRS = ["tests", "docs", ".devcontainer"]
if len(sys.argv) > 1:
print("Using files list on commandline")
changed_files = sys.argv[1:]
@ -149,8 +152,7 @@ def set_boards_to_build(build_all):
if p in IGNORE:
continue
# Boards don't run tests or docs so ignore those as well.
if p.startswith("tests") or p.startswith("docs"):
if any([p.startswith(d) for d in IGNORE_DIRS]):
continue
# As a (nearly) last resort, for some certain files, we compute the settings from the