mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
463 B
19 lines
463 B
$full = $args[0]
|
|
|
|
. ".\common.ps1" $full
|
|
|
|
# Test all solutions
|
|
|
|
foreach ($solutionPath in $solutionPaths) {
|
|
$solutionAbsPath = (Join-Path $rootFolder $solutionPath)
|
|
Set-Location $solutionAbsPath
|
|
dotnet test --no-build --no-restore --collect:"XPlat Code Coverage"
|
|
if (-Not $?) {
|
|
Write-Host ("Test failed for the solution: " + $solutionPath)
|
|
Set-Location $rootFolder
|
|
exit $LASTEXITCODE
|
|
}
|
|
}
|
|
|
|
Set-Location $rootFolder
|