[ci] Add validate.*.yaml for config-only component tests (#16384)

This commit is contained in:
Jesse Hills
2026-05-13 11:37:33 +12:00
committed by GitHub
parent 45a8bd49c3
commit cb2dbcd70d
10 changed files with 589 additions and 22 deletions

View File

@@ -1068,7 +1068,12 @@ PACKAGE_BUS_RE = re.compile(
)
@lint_content_check(include=["tests/components/*/test.*.yaml"])
@lint_content_check(
include=[
"tests/components/*/test.*.yaml",
"tests/components/*/validate.*.yaml",
]
)
def lint_test_package_key_matches_bus(fname, content):
"""Ensure package keys match the common bus directory name.