Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit 4eb36f4

Browse files
Update azure-pipelines.yml
1 parent 6792b97 commit 4eb36f4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

azure-pipelines.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,12 @@ jobs:
129129
# command: 'custom'
130130
# custom: 'nuget'
131131
# arguments: 'push --source https://nuget.pkg.github.com/xamarin/index.json --api-key $(GitHub.NuGet.Token) "$(Build.ArtifactStagingDirectory)\nuget\*.nupkg"'
132-
- task: CmdLine@2
133-
displayName: 'Run Unit Tests'
132+
- task: DotNetCoreCLI@2
133+
displayName: Run Tests
134134
inputs:
135-
script: dotnet test $(PathToUnitTestCsproj) -c 'Release' --collect "Code coverage"
135+
command: test
136+
projects: '**/*.UnitTests.csproj'
137+
arguments: '--configuration Release --collect "Code coverage'
136138
# publish the packages
137139
- task: PublishBuildArtifacts@1
138140
displayName: 'Publish Unsigned NuGets'

0 commit comments

Comments
 (0)