1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-13 07:13:47 +01:00
This commit is contained in:
J. Nick Koston
2025-10-10 07:50:01 -10:00
parent e0194cd11c
commit 9be28e06e4
2 changed files with 5 additions and 5 deletions

View File

@@ -392,7 +392,7 @@ jobs:
python3 script/test_build_components.py -e compile -c ${{ matrix.file }}
test-build-components-splitter:
name: Split components for intelligent grouping (20 per batch)
name: Split components for intelligent grouping (30 per batch)
runs-on: ubuntu-24.04
needs:
- common
@@ -417,7 +417,7 @@ jobs:
components='${{ needs.determine-jobs.outputs.changed-components }}'
echo "Splitting components intelligently..."
output=$(python3 script/split_components_for_ci.py --components "$components" --batch-size 20 --output github)
output=$(python3 script/split_components_for_ci.py --components "$components" --batch-size 30 --output github)
echo "$output" >> $GITHUB_OUTPUT

View File

@@ -49,7 +49,7 @@ def has_test_files(component_name: str, tests_dir: Path) -> bool:
def create_intelligent_batches(
components: list[str],
tests_dir: Path,
batch_size: int = 20,
batch_size: int = 30,
) -> list[list[str]]:
"""Create batches optimized for component grouping.
@@ -161,8 +161,8 @@ def main() -> int:
"--batch-size",
"-b",
type=int,
default=20,
help="Target batch size (default: 20)",
default=30,
help="Target batch size (default: 30)",
)
parser.add_argument(
"--tests-dir",