@@ -55,18 +55,25 @@ public static HelixTestRunnerOptions Parse(string[] args)
55
55
new Option (
56
56
aliases : new string [ ] { "--source" } ,
57
57
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 }
59
64
} ;
60
65
61
66
var parseResult = command . Parse ( args ) ;
62
67
var sharedFxVersion = parseResult . ValueForOption < string > ( "--runtime" ) ;
68
+ var dotnetEfVersion = parseResult . ValueForOption < string > ( "--dotnetEf" ) ;
63
69
var options = new HelixTestRunnerOptions
64
70
{
65
71
Architecture = parseResult . ValueForOption < string > ( "--arch" ) ,
66
72
HelixQueue = parseResult . ValueForOption < string > ( "--queue" ) ,
67
73
InstallPlaywright = parseResult . ValueForOption < bool > ( "--playwright" ) ,
68
74
Quarantined = parseResult . ValueForOption < bool > ( "--quarantined" ) ,
69
75
RuntimeVersion = sharedFxVersion ,
76
+ DotnetEfVersion = dotnetEfVersion ,
70
77
Target = parseResult . ValueForOption < string > ( "--target" ) ,
71
78
Timeout = TimeSpan . Parse ( parseResult . ValueForOption < string > ( "--helixTimeout" ) , CultureInfo . InvariantCulture ) ,
72
79
@@ -87,6 +94,7 @@ public static HelixTestRunnerOptions Parse(string[] args)
87
94
public bool InstallPlaywright { get ; private set ; }
88
95
public bool Quarantined { get ; private set ; }
89
96
public string RuntimeVersion { get ; private set ; }
97
+ public string DotnetEfVersion { get ; private set ; }
90
98
public string Target { get ; private set ; }
91
99
public TimeSpan Timeout { get ; private set ; }
92
100
0 commit comments