INNER CODE UNIT · Python

matches_event

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

    def matches_event(self, github_context: dict[str, Any]) -> bool:
        when = self.when or ScheduleFilter(pushes=True)
        return any(
            matches(github_context, when)
            for matches in [
                matches_push,
                matches_dispatch,
                matches_scheduled,
                matches_label,
            ]
        )


def has_impacted_module(module_set: list[str], impacted: set[str]) -> bool:
    return any(module in impacted for module in module_set)


def build_test_name(

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…