INNER CODE UNIT · Python

ScheduleConfigItem

trinodb/trino · .github/bin/build-matrix-schedule-aware.py:113

class ScheduleConfigItem:
    """
    One item in the schedule config YAML, defines a set of tests that run in the same conditions.

    See .github/schedule-config-schema.yml for attribute descriptions
    """

    module_sets: list[list[str]]
    profiles: list[str] = field(default_factory=list)
    runners: list[str] = field(default_factory=list)
    notify_channels: list[str] = field(default_factory=list)
    when: ScheduleFilter | None = None
    matrix_properties: dict[str, Any] = field(default_factory=dict)

    def build_matrix_includes(self) -> list[dict[str, str | list[str]]]:
        """Build a list of matrix cells for all tests in this set."""
        return self._matrix_includes_from(self.module_sets)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…