From 4eb36f41269882f6bc25a0e96bc9647f756f4a68 Mon Sep 17 00:00:00 2001 From: Brandon Minnick <13558917+brminnick@users.noreply.github.com> Date: Fri, 5 Mar 2021 22:18:38 -0800 Subject: [PATCH] Update azure-pipelines.yml --- azure-pipelines.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9a6d798f5..3cbb2ccc0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -129,10 +129,12 @@ jobs: # command: 'custom' # custom: 'nuget' # arguments: 'push --source https://nuget.pkg.github.com/xamarin/index.json --api-key $(GitHub.NuGet.Token) "$(Build.ArtifactStagingDirectory)\nuget\*.nupkg"' - - task: CmdLine@2 - displayName: 'Run Unit Tests' + - task: DotNetCoreCLI@2 + displayName: Run Tests inputs: - script: dotnet test $(PathToUnitTestCsproj) -c 'Release' --collect "Code coverage" + command: test + projects: '**/*.UnitTests.csproj' + arguments: '--configuration Release --collect "Code coverage' # publish the packages - task: PublishBuildArtifacts@1 displayName: 'Publish Unsigned NuGets'