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

Commit

Permalink
Update azure-pipelines.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
brminnick committed Mar 6, 2021
1 parent 6792b97 commit 4eb36f4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 4eb36f4

Please sign in to comment.