From 62771d7c087fdd46e43a2882a89e92c9b9cf0ebd Mon Sep 17 00:00:00 2001 From: Bjarke Berg Date: Wed, 2 Dec 2020 10:09:30 +0100 Subject: [PATCH] added mac os x for unit tests Signed-off-by: Bjarke Berg --- build/azure-pipelines.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/build/azure-pipelines.yml b/build/azure-pipelines.yml index acaaf75b70..bc348d3ade 100644 --- a/build/azure-pipelines.yml +++ b/build/azure-pipelines.yml @@ -11,6 +11,7 @@ variables: stages: - stage: Linux + dependsOn: [] # this removes the implicit dependency on previous stage and causes this to run in parallel jobs: - job: Unit_Tests @@ -30,6 +31,27 @@ stages: command: test projects: '**/*.Tests.UnitTests.csproj' +- stage: macOS_X + dependsOn: [] # this removes the implicit dependency on previous stage and causes this to run in parallel + jobs: + + - job: Unit_Tests + displayName: 'Unit Tests' + pool: + vmImage: 'macOS-latest' + steps: + + - task: UseDotNet@2 + displayName: 'Use .Net Core sdk 3.1.x' + inputs: + version: 3.1.x + + - task: DotNetCoreCLI@2 + displayName: 'dotnet test' + inputs: + command: test + projects: '**/*.Tests.UnitTests.csproj' + - stage: Windows dependsOn: [] # this removes the implicit dependency on previous stage and causes this to run in parallel