1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-20 02:33:50 +01:00

[ci] Fix test_build_components missing test files with hyphen naming pattern (#11329)

This commit is contained in:
J. Nick Koston
2025-10-17 13:05:44 -10:00
committed by GitHub
parent b61cec8e77
commit b3b65316f0

View File

@@ -99,7 +99,8 @@ def find_component_tests(
if not comp_dir.is_dir():
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)
return dict(component_tests)