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:
51
51
artifacts :
52
52
- path : .\GitExtensions.PluginManager.*.zip
53
53
- path : .\GitExtensions.PluginManager.*.nupkg
54
+ - path : .\*.binlog
54
55
55
56
# ---------------------------------#
56
57
# deployment configuration #
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ public int MoveDown(IPackageSource source)
107
107
{
108
108
Sources . RemoveAt ( index ) ;
109
109
Sources . Insert ( ++ index , target ) ;
110
- SavePackageSources ( ) ;
110
+ SavePackageSources ( true ) ;
111
111
}
112
112
113
113
return index ;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ namespace PackageManager.ViewModels.Commands
15
15
[ TestClass ]
16
16
public class TestCommands
17
17
{
18
- private const string ExtractPath = @"D: \" ;
18
+ private const string ExtractPath = @". \" ;
19
19
20
20
[ TestMethod ]
21
21
public void Install ( )
Original file line number Diff line number Diff line change 1
1
Push-Location $PSScriptRoot ;
2
2
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
5
16
6
17
Pop-Location ;
You can’t perform that action at this time.
0 commit comments