def METHOD_NAME(examples, break_on_errors=True):
    """Run all the examples."""
    for folder, file_ in examples:
        print()  # noqa: T001
        print(f" {file_.upper()} ".center(80, "*"))  # noqa: T001
        print()  # noqa: T001
        with working_directory(folder):
            params = read_config(file_)
            rmtree(params["run_dir"], ignore_errors=True)
            subprocess.run(
                f"haddock3 {file_}",
                shell=True,
                check=break_on_errors,
                stdout=sys.stdout,
                stderr=sys.stderr,
                )
    return