mirror of
https://github.com/esphome/esphome.git
synced 2026-11-15 01:25:57 +00:00
[ci] Add validate.*.yaml for config-only component tests (#16384)
This commit is contained in:
1 parent
45a8bd49c3
commit
cb2dbcd70d
10 files changed
+589
-22
No files matched your search
+6
-1
@@ -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.
|
||||
|
||||
|
||||
Reference in new issue
Block a user