Skip to content

Commit

Permalink
Fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisMaddock committed Jun 7, 2020
1 parent 205470f commit 79dbcd4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
9 changes: 8 additions & 1 deletion azure-pipelines.yml
Expand Up @@ -7,9 +7,16 @@ jobs:

- job: Windows
pool:
vmImage: windows-latest
vmImage: windows-2019

steps:

- task: UseDotNet@2
displayName: 'Install .NET Core 1.1.2'
inputs:
packageType: runtime
version: 1.1.2

- powershell: .\build.ps1 -Target Test -Configuration Release
displayName: Build and test

Expand Down
7 changes: 4 additions & 3 deletions build.cake
Expand Up @@ -311,6 +311,7 @@ Task("TestNetCore31Console")
Task("TestNetStandard16Engine")
.Description("Tests the .NET Standard Engine")
.IsDependentOn("Build")
.WithCriteria(!BuildSystem.IsRunningOnAzurePipelines) //Unable to find Azure build supporting both .NET Core 1.1 and .NET Core 3.1
.OnError(exception => { ErrorDetail.Add(exception.Message); })
.Does(() =>
{
Expand Down Expand Up @@ -658,10 +659,10 @@ bool CheckIfDotNetCoreInstalled()
{
try
{
Information("Checking if .NET Core SDK is installed");
Information("Checking if .NET Core SDK is installed...");
StartProcess("dotnet", new ProcessSettings
{
Arguments = "--version"
Arguments = "--info"
});
}
catch(Exception)
Expand Down Expand Up @@ -692,7 +693,7 @@ FilePath GetResultXmlPath(string testAssembly, string framework)
{
var assemblyName = System.IO.Path.GetFileNameWithoutExtension(testAssembly);

// Required for Test suites running under NUnitLite
// Required for test suites running under NUnitLite
CreateDirectory($@"test-results\{framework}");

return MakeAbsolute(new FilePath($@"test-results\{framework}\{assemblyName}.xml"));
Expand Down
4 changes: 2 additions & 2 deletions src/NUnitEngine/nunit.engine/Runners/MasterTestRunner.cs
Expand Up @@ -57,9 +57,9 @@ public class MasterTestRunner : ITestRunner
private readonly IServiceLocator _services;
#if !NETSTANDARD1_6
private readonly ExtensionService _extensionService;
#if !NETSTANDARD2_0
private readonly IRuntimeFrameworkService _runtimeService;
#endif
#if NETFRAMEWORK
private readonly IRuntimeFrameworkService _runtimeService;
#endif
private readonly IProjectService _projectService;
private ITestRunnerFactory _testRunnerFactory;
Expand Down

0 comments on commit 79dbcd4

Please sign in to comment.