diff options
author | Lluis Sanchez <llsan@microsoft.com> | 2022-09-14 17:50:06 +0300 |
---|---|---|
committer | Lluis Sanchez <llsan@microsoft.com> | 2022-09-14 17:50:06 +0300 |
commit | e312078b0bd39a0ecf7c539a88a225f56d939080 (patch) | |
tree | 82ac308f4d12fb3594afddea0af3f478a27fcf8d | |
parent | fcd6b0324ceaad72978fc95d7df1ef70c492d658 (diff) |
Run unit tests in CI
-rw-r--r-- | azure-pipelines.yml | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5c59ddd..5686998 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -52,20 +52,11 @@ steps: nobuild: true workingDirectory: $(Build.SourcesDirectory) -#- task: MSBuild@1 -# displayName: 'Test Assemblies Test\UnitTests\bin\Debug\UnitTests.dll' -# inputs: -# solution: 'Test/UnitTests/UnitTests.csproj' -# platform: '$(BuildPlatform)' -# configuration: '$(BuildConfiguration)' -# msbuildArguments: '/t:Test' -# -#- task: PublishTestResults@2 -# displayName: 'Publish Test Results Test\UnitTests\TestResult.xml' -# inputs: -# testResultsFormat: 'NUnit' -# testResultsFiles: 'Test/UnitTests/TestResult.xml' -# failTaskOnFailedTests: true +- task: DotNetCoreCLI@2 + displayName: Test + inputs: + command: 'test' + workingDirectory: '$(Build.SourcesDirectory)/Test/UnitTests' - task: Bash@3 displayName: 'Generate package file list' |