Skip to content

Commit

Permalink
Run unit tests in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigel Sampson committed Nov 7, 2018
1 parent df4d77c commit 4eaaf76
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions azure-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ pool:

variables:
buildConfiguration: Release
solution: './src/Caliburn.Micro.sln'
buildPlatform: Any CPU
solution: '.\src\Caliburn.Micro.sln'

steps:
- task: VSBuild@1
Expand All @@ -21,4 +22,12 @@ steps:
inputs:
solution: '$(solution)'
configuration: '$(buildConfiguration)'
msbuildArgs: '/t:Build'
platform: '$(buildPlatform)'
msbuildArgs: '/t:Build'

- task: VSTest@2
displayName: Run Unit Tests
inputs:
testAssemblyVer2: '.\bin\*.Tests\$(buildConfiguration)\*\*.Tests.dll'
configuration: '$(buildConfiguration)'
platform: '$(buildPlatform)'

0 comments on commit 4eaaf76

Please sign in to comment.