MatrixCiRunner typedef

MatrixCiRunner = Future<(int, String)> Function(String directory, List<String> commands, {String? artifact, Map<String, String> environment})

Runs commands of CI in a clone of the app in a directory, as runCiCommands does; returns the exit code of the first command that fails and the output up to it, or 0 and the output of all.

Implementation

typedef MatrixCiRunner = Future<(int, String)> Function(
  String directory,
  List<String> commands, {
  Map<String, String> environment,
  String? artifact,
});