1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-19 00:05:43 +00:00
This commit is contained in:
J. Nick Koston
2025-10-29 18:53:35 -05:00
parent 36a7951f7a
commit 22cb0fbb70
2 changed files with 7 additions and 5 deletions

View File

@@ -695,15 +695,17 @@ def main() -> None:
# Split components into batches for CI testing
# This intelligently groups components with similar bus configurations
component_test_batches: list[list[str]]
component_test_batches: list[str]
if changed_components_with_tests:
tests_dir = Path(root_path) / ESPHOME_TESTS_COMPONENTS_PATH
component_test_batches, _ = create_intelligent_batches(
batches, _ = create_intelligent_batches(
components=changed_components_with_tests,
tests_dir=tests_dir,
batch_size=COMPONENT_TEST_BATCH_SIZE,
directly_changed=directly_changed_with_tests,
)
# Convert batches to space-separated strings for CI matrix
component_test_batches = [" ".join(batch) for batch in batches]
else:
component_test_batches = []