INNER CODE UNIT · Python
main
trinodb/trino · .github/bin/build-matrix-schedule-aware.py:20
def main():
parser = argparse.ArgumentParser(
description="Build test matrix using list of impacted modules and scheduling config."
)
cmds = parser.add_subparsers(required=True)
build_matrix_parser = cmds.add_parser(
"build-matrix",
aliases=["build"],
help="Main program - build the scheduled test matrix",
description="Build test matrix using list of impacted modules and scheduling config.",
)
build_matrix_parser.set_defaults(cmd=build_test_matrix)
build_matrix_parser.add_argument(
"-c",
"--schedule-config",
type=Path,
default=".github/schedule-config.yml",
help="A YAML file with the schedule config. Should match schema in "