INNER CODE UNIT · Python
ScheduleFilter
trinodb/trino · .github/bin/build-matrix-schedule-aware.py:98
class ScheduleFilter:
"""
Definition for when a particular set of tests should run.
See .github/schedule-config-schema.yml for attribute descriptions.
"""
pushes: bool = field(default=False, kw_only=True)
dispatches: bool = field(default=True, kw_only=True)
impacted: bool = field(default=True, kw_only=True)
scheduled: Schedule = Schedule.nightly
labeled: list[str] = field(default_factory=list)
@dataclass
class ScheduleConfigItem:
"""
One item in the schedule config YAML, defines a set of tests that run in the same conditions.