Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Ieuan Walker
2019-07-13 02:11:02 +01:00
parent dbf0877570
commit a06ea4603e

View File

@@ -30,14 +30,15 @@ steps:
# Unit tests
- task: VSTest@2
displayName: Unit tests
inputs:
testSelector: 'testAssemblies'
testAssemblyVer2: '**\$(BuildConfiguration)\GeoUK.OSTN.Tests.dll'
testAssemblyVer2: |
**\*tests*.dll
!**\*TestAdapter.dll
!**\obj\**
searchFolder: '$(System.DefaultWorkingDirectory)'
codeCoverageEnabled: true
# The second task is dotnet pack command again pointing to the csproj file
# The nobuild means the project will not be compiled before running pack, because its already built in above step
- task: DotNetCoreCLI@2