File tree Expand file tree Collapse file tree 4 files changed +16
-4
lines changed
src/PackageManager.NuGet/Models
test/PackageManager.Tests/ViewModels/Commands Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ test_script:
5151artifacts :
5252- path : .\GitExtensions.PluginManager.*.zip
5353- path : .\GitExtensions.PluginManager.*.nupkg
54+ - path : .\*.binlog
5455
5556# ---------------------------------#
5657# deployment configuration #
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ public int MoveDown(IPackageSource source)
107107 {
108108 Sources . RemoveAt ( index ) ;
109109 Sources . Insert ( ++ index , target ) ;
110- SavePackageSources ( ) ;
110+ SavePackageSources ( true ) ;
111111 }
112112
113113 return index ;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ namespace PackageManager.ViewModels.Commands
1515 [ TestClass ]
1616 public class TestCommands
1717 {
18- private const string ExtractPath = @"D: \" ;
18+ private const string ExtractPath = @". \" ;
1919
2020 [ TestMethod ]
2121 public void Install ( )
Original file line number Diff line number Diff line change 11Push-Location $PSScriptRoot ;
22
3- dotnet test ..\test\PackageManager.NuGet.Tests\PackageManager.NuGet.Tests.csproj - c Release -- no- build -- test-adapter - path:.. -- logger:Appveyor / property:Platform= AnyCPU
4- dotnet test ..\test\PackageManager.Tests\PackageManager.Tests.csproj - c Release -- no- build -- test-adapter - path:.. -- logger:Appveyor / property:Platform= AnyCPU
3+ $targetPath = ' ..\' ;
4+
5+ $isAppveyor = $True -eq $env: APPVEYOR ;
6+
7+ If (! $isAppveyor )
8+ {
9+ Write-Host " Running locally" ;
10+
11+ $targetPath = Join-Path $targetPath ' artifacts' ;
12+ }
13+
14+ dotnet test ..\test\PackageManager.NuGet.Tests\PackageManager.NuGet.Tests.csproj - c Release -- test-adapter - path:.. -- logger:Appveyor / property:Platform= AnyCPU - bl:$targetPath \build-PackageManager .NuGet.Tests.binlog
15+ dotnet test ..\test\PackageManager.Tests\PackageManager.Tests.csproj - c Release -- test-adapter - path:.. -- logger:Appveyor / property:Platform= AnyCPU - bl:$targetPath \build-PackageManager .Tests.binlog
516
617Pop-Location ;
You can’t perform that action at this time.
0 commit comments