File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ open System
4
4
open Fake.Core
5
5
open System.IO
6
6
open Commandline
7
+ open Fake.Core
7
8
open Versioning
8
9
9
10
module Tests =
@@ -52,7 +53,11 @@ module Tests =
52
53
| ( true ) -> [ " --logger" ; " trx" ; " --collect" ; " \" Code Coverage\" " ; " -v" ; " m" ] |> List.append command
53
54
| _ -> command
54
55
55
- Tooling.DotNet.ExecInWithTimeout " src/Tests/Tests" commandWithCodeCoverage ( TimeSpan.FromMinutes 30. )
56
+ if Environment.UserInteractive && Environment.isWindows then
57
+ Tooling.DotNet.ReadInWithTimeout " src/Tests/Tests" commandWithCodeCoverage ( TimeSpan.FromMinutes 30. )
58
+ |> ignore
59
+ else
60
+ Tooling.DotNet.ExecInWithTimeout " src/Tests/Tests" commandWithCodeCoverage ( TimeSpan.FromMinutes 30. )
56
61
57
62
let RunReleaseUnitTests ( ArtifactsVersion ( version )) =
58
63
//xUnit always does its own build, this env var is picked up by Tests.csproj
You can’t perform that action at this time.
0 commit comments