Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ test_script:
artifacts:
- path: .\GitExtensions.PluginManager.*.zip
- path: .\GitExtensions.PluginManager.*.nupkg
- path: .\*.binlog

#---------------------------------#
# deployment configuration #
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public int MoveDown(IPackageSource source)
{
Sources.RemoveAt(index);
Sources.Insert(++index, target);
SavePackageSources();
SavePackageSources(true);
}

return index;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace PackageManager.ViewModels.Commands
[TestClass]
public class TestCommands
{
private const string ExtractPath = @"D:\";
private const string ExtractPath = @".\";

[TestMethod]
public void Install()
Expand Down
15 changes: 13 additions & 2 deletions tools/Run-Tests.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
Push-Location $PSScriptRoot;

dotnet test ..\test\PackageManager.NuGet.Tests\PackageManager.NuGet.Tests.csproj -c Release --no-build --test-adapter-path:.. --logger:Appveyor /property:Platform=AnyCPU
dotnet test ..\test\PackageManager.Tests\PackageManager.Tests.csproj -c Release --no-build --test-adapter-path:.. --logger:Appveyor /property:Platform=AnyCPU
$targetPath = '..\';

$isAppveyor = $True -eq $env:APPVEYOR;

If (!$isAppveyor)
{
Write-Host "Running locally";

$targetPath = Join-Path $targetPath 'artifacts';
}

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
dotnet test ..\test\PackageManager.Tests\PackageManager.Tests.csproj -c Release --test-adapter-path:.. --logger:Appveyor /property:Platform=AnyCPU -bl:$targetPath\build-PackageManager.Tests.binlog

Pop-Location;