Browse Source
Merge pull request #2198 from mehmetuken/ci-test-skip
CI test skip build and restore.
pull/2210/head
İsmail ÇAĞDAŞ
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
test-all.ps1
|
|
|
@ -23,12 +23,12 @@ $solutionPaths = ( |
|
|
|
"templates/app/aspnet-core" |
|
|
|
) |
|
|
|
|
|
|
|
# Build all solutions |
|
|
|
# Test all solutions |
|
|
|
|
|
|
|
foreach ($solutionPath in $solutionPaths) { |
|
|
|
$solutionAbsPath = (Join-Path $rootFolder $solutionPath) |
|
|
|
Set-Location $solutionAbsPath |
|
|
|
dotnet test |
|
|
|
dotnet test --no-build --no-restore |
|
|
|
if (-Not $?) { |
|
|
|
Write-Host ("Test failed for the solution: " + $solutionPath) |
|
|
|
Set-Location $rootFolder |
|
|
|
|