File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ if($LASTEXITCODE -ne 0) { exit 2 }
30
30
31
31
Write-Output " build: Testing"
32
32
33
- & dotnet test test\Serilog.Settings.Configuration.Tests -- configuration Release -- no- build -- no- restore
33
+ # Dotnet test doesn't run separate TargetFrameworks in parallel: https://github.com/dotnet/sdk/issues/19147
34
+ # Workaround: use `dotnet test` on dlls directly in order to pass the `--parallel` option to vstest.
35
+ # The _reported_ runtime is wrong but the _actual_ used runtime is correct, see https://github.com/microsoft/vstest/issues/2037#issuecomment-720549173
36
+ & dotnet test test\Serilog.Settings.Configuration.Tests\bin\Release\* \Serilog.Settings.Configuration.Tests.dll -- parallel
34
37
35
38
if ($LASTEXITCODE -ne 0 ) { exit 3 }
You can’t perform that action at this time.
0 commit comments