Skip to content

Commit

Permalink
Fix CI on Windows (no. 1)
Browse files Browse the repository at this point in the history
  • Loading branch information
cafour committed Jul 15, 2021
1 parent 71f8d5f commit 97aa46c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions ci/windows/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,12 @@ if ($NoUITests -ne $true) {
"$Root\src\DotVVM.Samples.Common" `
"$Root\artifacts"

dotnet test "$samplesDir" `
--configuration "$Config" `
--logger "trx;LogFileName=ui-test-results.trx" `
--results-directory "$testResultsDir"
$uiTestProcess = Start-Process -PassThru -FilePath "dotnet.exe" -ArgumentList "test ""$samplesDir"" `
--configuration ""$Config"" `
--logger ""trx;LogFileName=ui-test-results.trx"" `
--results-directory ""$testResultsDir"""

Wait-Process -Id "$(uiTestProcess.Id)"

Clean-UITest
}
Expand Down

0 comments on commit 97aa46c

Please sign in to comment.