@@ -55,18 +55,25 @@ public static HelixTestRunnerOptions Parse(string[] args)
5555 new Option (
5656 aliases : new string [ ] { "--source" } ,
5757 description : "The restore sources to use during testing" )
58- { Argument = new Argument < string > ( ) { Arity = ArgumentArity . ZeroOrMore } , Required = true }
58+ { Argument = new Argument < string > ( ) { Arity = ArgumentArity . ZeroOrMore } , Required = true } ,
59+
60+ new Option (
61+ aliases : new string [ ] { "--dotnetEf" } ,
62+ description : "The version of the dotnet-ef tool being installed and used" )
63+ { Argument = new Argument < string > ( ) , Required = true }
5964 } ;
6065
6166 var parseResult = command . Parse ( args ) ;
6267 var sharedFxVersion = parseResult . ValueForOption < string > ( "--runtime" ) ;
68+ var dotnetEfVersion = parseResult . ValueForOption < string > ( "--dotnetEf" ) ;
6369 var options = new HelixTestRunnerOptions
6470 {
6571 Architecture = parseResult . ValueForOption < string > ( "--arch" ) ,
6672 HelixQueue = parseResult . ValueForOption < string > ( "--queue" ) ,
6773 InstallPlaywright = parseResult . ValueForOption < bool > ( "--playwright" ) ,
6874 Quarantined = parseResult . ValueForOption < bool > ( "--quarantined" ) ,
6975 RuntimeVersion = sharedFxVersion ,
76+ DotnetEfVersion = dotnetEfVersion ,
7077 Target = parseResult . ValueForOption < string > ( "--target" ) ,
7178 Timeout = TimeSpan . Parse ( parseResult . ValueForOption < string > ( "--helixTimeout" ) , CultureInfo . InvariantCulture ) ,
7279
@@ -87,6 +94,7 @@ public static HelixTestRunnerOptions Parse(string[] args)
8794 public bool InstallPlaywright { get ; private set ; }
8895 public bool Quarantined { get ; private set ; }
8996 public string RuntimeVersion { get ; private set ; }
97+ public string DotnetEfVersion { get ; private set ; }
9098 public string Target { get ; private set ; }
9199 public TimeSpan Timeout { get ; private set ; }
92100
0 commit comments