diff --git a/build/azure-pipelines.yml b/build/azure-pipelines.yml index 3b2f8ea7dc..135cfa9b12 100644 --- a/build/azure-pipelines.yml +++ b/build/azure-pipelines.yml @@ -9,32 +9,21 @@ trigger: - master -# VM to run the build on & it's installed software -pool: - vmImage: 'ubuntu-latest' - # Variables & their default values variables: buildConfiguration: 'Release' -steps: -- task: UseDotNet@2 - displayName: 'Use .Net Core sdk 3.1.100' +jobs: +- job: Linux + pool: + vmImage: 'ubuntu-latest' + steps: + - task: UseDotNet@2 + displayName: 'Use .Net Core sdk 3.1.100' + inputs: + version: 3.1.100 + - task: DotNetCoreCLI@2 + displayName: 'dotnet test' inputs: - version: 3.1.100 - -- task: NuGetToolInstaller@1 - displayName: 'Use NuGet Latest' - -- task: NuGetCommand@2 - displayName: 'Restore NuGet Packages' - inputs: - restoreSolution: '**/src/umbraco-netcore-only.sln' - feedsToUse: config - -- task: DotNetCoreCLI@2 - displayName: Build - inputs: - command: build - projects: '**/src/Umbraco.Web.UI.NetCore/*.csproj' - arguments: '--configuration $(buildConfiguration)' + command: test + projects: '**\Umbraco.Tests.UnitTests.csproj'