mirror of
https://github.com/esphome/esphome.git
synced 2025-10-26 12:43:48 +00:00
[ci] Fix WiFi testing mode validation and component splitter for variant-only tests (#11481)
This commit is contained in:
@@ -118,8 +118,13 @@ def create_intelligent_batches(
|
||||
continue
|
||||
|
||||
# Get signature from any platform (they should all have the same buses)
|
||||
# Components not in component_buses were filtered out by has_test_files check
|
||||
comp_platforms = component_buses[component]
|
||||
# Components not in component_buses may only have variant-specific tests
|
||||
comp_platforms = component_buses.get(component)
|
||||
if not comp_platforms:
|
||||
# Component has tests but no analyzable base config - treat as no buses
|
||||
signature_groups[(ALL_PLATFORMS, NO_BUSES_SIGNATURE)].append(component)
|
||||
continue
|
||||
|
||||
for platform, buses in comp_platforms.items():
|
||||
if buses:
|
||||
signature = create_grouping_signature({platform: buses}, platform)
|
||||
|
||||
Reference in New Issue
Block a user