Browse Source
Merge pull request #16145 from abpframework/fix-unit-test
fix unit test for pipeline
pull/16148/head^2
Alper Ebiçoğlu
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
5 deletions
-
nupkg/pack.ps1
-
nupkg/unit_test.ps1
|
|
|
@ -23,8 +23,8 @@ foreach($project in $projects) { |
|
|
|
# Create nuget pack |
|
|
|
Write-Info "[$i / $projectsCount] - Packing project: $projectName" |
|
|
|
Set-Location $projectFolder |
|
|
|
# dotnet clean |
|
|
|
dotnet pack -c Release /maxcpucount |
|
|
|
#dotnet clean |
|
|
|
dotnet pack -c Release --no-build |
|
|
|
|
|
|
|
if (-Not $?) { |
|
|
|
Write-Error "Packaging failed for the project: $projectName" |
|
|
|
|
|
|
|
@ -4,7 +4,5 @@ |
|
|
|
foreach($solution in $solutions) { |
|
|
|
$solutionFolder = Join-Path $rootFolder $solution |
|
|
|
Set-Location $solutionFolder |
|
|
|
dotnet test --no-build --logger trx |
|
|
|
|
|
|
|
|
|
|
|
dotnet test --configuration Release --logger trx -- /maxcpucount |
|
|
|
} |
|
|
|
|