mirror of
https://github.com/esphome/esphome.git
synced 2025-10-20 10:43:48 +01:00
[ci] Fix test_build_components missing test files with hyphen naming pattern (#11329)
This commit is contained in:
@@ -99,7 +99,8 @@ def find_component_tests(
|
|||||||
if not comp_dir.is_dir():
|
if not comp_dir.is_dir():
|
||||||
continue
|
continue
|
||||||
|
|
||||||
for test_file in comp_dir.glob("test.*.yaml"):
|
# Find test files matching test.*.yaml or test-*.yaml patterns
|
||||||
|
for test_file in comp_dir.glob("test[.-]*.yaml"):
|
||||||
component_tests[comp_dir.name].append(test_file)
|
component_tests[comp_dir.name].append(test_file)
|
||||||
|
|
||||||
return dict(component_tests)
|
return dict(component_tests)
|
||||||
|
Reference in New Issue
Block a user