Skip to content

Commit

Permalink
Merge pull request #25 from TestCentric/update-engine
Browse files Browse the repository at this point in the history
Update dependencies and script version
  • Loading branch information
CharliePoole authored Oct 23, 2023
2 parents 09c1ade + e6f036b commit e553457
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 30 deletions.
24 changes: 2 additions & 22 deletions build.cake
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
#tool NuGet.CommandLine&version=6.0.0

// Load the recipe
#load nuget:?package=TestCentric.Cake.Recipe&version=1.1.0-dev00050
#load nuget:?package=TestCentric.Cake.Recipe&version=1.1.0-dev00055
// Comment out above line and uncomment below for local tests of recipe changes
//#load ../TestCentric.Cake.Recipe/recipe/*.cake

var target = Argument("target", Argument("t", "Default"));

BuildSettings.Initialize
(
context: Context,
Expand Down Expand Up @@ -71,22 +67,6 @@ BuildSettings.Packages.Add(new ChocolateyPackage(
testRunner: new AgentRunner(BuildSettings.ChocolateyTestDirectory + "testcentric-extension-net462-pluggable-agent/tools/agent/net462-agent.exe"),
tests: PackageTests) );

//////////////////////////////////////////////////////////////////////
// TEST PUSHING TO GITHUB PACKAGES
//////////////////////////////////////////////////////////////////////
Task("PushToGitHub")
.Does(() =>
{
var package = BuildSettings.Packages[0];
var packageName = $"{package.PackageId}.{BuildSettings.PackageVersion}.nupkg";
var packagePath = BuildSettings.PackagingDirectory + packageName;
var settings = new NuGetPushSettings() {
ApiKey = BuildSettings.GitHubAccessToken,
Source = "https://nuget.pkg.github.com/testcentric" };
NuGetPush(packagePath, settings);
});

//////////////////////////////////////////////////////////////////////
// TASK TARGETS
//////////////////////////////////////////////////////////////////////
Expand All @@ -106,4 +86,4 @@ Task("Default")
// EXECUTION
//////////////////////////////////////////////////////////////////////

RunTarget(target);
RunTarget(CommandLineOptions.Target);
2 changes: 1 addition & 1 deletion src/agent-tests/net462-agent.tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<ItemGroup>
<PackageReference Include="NUnit" Version="3.12.0" />
<PackageReference Include="NUnitLite" Version="3.12.0" />
<PackageReference Include="TestCentric.Engine.Api" Version="2.0.0-dev00007" />
<PackageReference Include="TestCentric.Engine.Api" Version="2.0.0-beta3" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/launcher/net462-agent-launcher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="TestCentric.Extensibility.Api" Version="2.0.0-dev00030" />
<PackageReference Include="TestCentric.Engine.Api" Version="2.0.0-dev00007" />
<PackageReference Include="TestCentric.Extensibility.Api" Version="2.0.0" />
<PackageReference Include="TestCentric.Engine.Api" Version="2.0.0-beta3" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions src/net462-agent-x86/net462-agent-x86.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="TestCentric.InternalTrace" Version="1.0.0-dev00002" />
<PackageReference Include="TestCentric.Engine.Core" Version="2.0.0-dev00025" />
<PackageReference Include="TestCentric.InternalTrace" Version="1.0.0" />
<PackageReference Include="TestCentric.Engine.Core" Version="2.0.0-beta3" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/net462-agent/net462-agent.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="TestCentric.InternalTrace" Version="1.0.0-dev00002" />
<PackageReference Include="TestCentric.Engine.Core" Version="$(EngineCoreVersion)" />
<PackageReference Include="TestCentric.InternalTrace" Version="1.0.0" />
<PackageReference Include="TestCentric.Engine.Core" Version="2.0.0-beta3" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/tests/net462-agent-launcher.tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<ItemGroup>
<PackageReference Include="NUnit" Version="3.12.0" />
<PackageReference Include="NUnitLite" Version="3.12.0" />
<PackageReference Include="TestCentric.Engine.Api" Version="2.0.0-dev00007" />
<PackageReference Include="TestCentric.Engine.Api" Version="2.0.0-beta3" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit e553457

Please sign in to comment.