File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- jobs :
1+ jobs :
22- job : Linux
33 pool :
44 vmImage : ' ubuntu-18.04'
77 steps :
88 - script : cd $(Build.SourcesDirectory) && bash ./build.sh
99 displayName : ' Linux Build and Tests'
10- - task : PublishCodeCoverageResults@1
10+ - task : PublishTestResults@2
1111 inputs :
12- summaryFileLocation : $(Build.SourcesDirectory)\artifacts\coverage.cobertura.xml
13- reportDirectory : $(Build.SourcesDirectory)\artifacts
14- codecoverageTool : cobertura
15-
12+ testRunner : VSTest
13+ testResultsFiles : ' **/*.trx'
14+
1615- job : Windows
1716 pool :
18- vmImage : ' windows-2021 '
17+ vmImage : ' windows-2019 '
1918 variables :
2019 buildConfiguration : ' Release'
2120 steps :
22- - task : DotNetCoreInstaller@0
23- inputs :
24- version : ' 3.1.302'
25- - script : cd $(Build.SourcesDirectory) && dotnet build
21+ - script : cd $(Build.SourcesDirectory) && powershell -ExecutionPolicy Unrestricted ./build.ps1 --full
2622 displayName : ' Windows Full Build and Tests'
2723 - task : PublishTestResults@2
2824 inputs :
2925 testRunner : VSTest
3026 testResultsFiles : ' **/*.trx'
31- - task : PublishCodeCoverageResults@2
27+ - task : PublishCodeCoverageResults@1
3228 inputs :
3329 summaryFileLocation : $(Build.SourcesDirectory)\artifacts\coverage.cobertura.xml
3430 reportDirectory : $(Build.SourcesDirectory)\artifacts
You can’t perform that action at this time.
0 commit comments