File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed
tests/AzureDevopsTracker.Tests Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -39,13 +39,13 @@ steps:
3939 arguments : ' --configuration $(BuildConfiguration) /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --collect "Code Coverage"'
4040
4141- script : ' dotnet tool install --global coverlet.console'
42- displayName : ' Install coverlet tool'
42+ displayName : ' Install coverlet global tool'
4343
4444# - script: 'reportgenerator -reports:$(Agent.TempDirectory)/**/coverage.cobertura.xml -targetdir:$(Build.SourcesDirectory)/coverlet/reports -reporttypes:"Cobertura"'
4545# displayName: 'Create reports'
4646
4747- script : coverlet *.Tests.dll --target "dotnet" --targetargs "test --no-build" -f=opencover -o="coverage.xml"
48- displayName : ' Run dotnet-coverage '
48+ displayName : ' Run coverlet '
4949
5050- task : PublishTestResults@2
5151 inputs :
Original file line number Diff line number Diff line change 2424 </PropertyGroup >
2525
2626 <ItemGroup >
27- <PackageReference Include =" altcover" Version =" 8.3.838" />
28- <PackageReference Include =" coverlet.msbuild" Version =" 3.1.2" >
29- <PrivateAssets >all</PrivateAssets >
30- <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
31- </PackageReference >
3227 <PackageReference Include =" Microsoft.AspNetCore.Http" Version =" 2.2.2" />
3328 <PackageReference Include =" Microsoft.EntityFrameworkCore.SqlServer" Version =" 5.0.0" />
3429 <PackageReference Include =" Microsoft.AspNetCore.Http.Abstractions" Version =" 2.2.0" />
35- <PackageReference Include =" ReportGenerator" Version =" 5.1.9" />
3630 <PackageReference Include =" System.Net.Http.Json" Version =" 5.0.0" />
3731 </ItemGroup >
3832
Original file line number Diff line number Diff line change 99 </PropertyGroup >
1010
1111 <ItemGroup >
12+ <PackageReference Include =" coverlet.msbuild" Version =" 3.1.2" >
13+ <PrivateAssets >all</PrivateAssets >
14+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
15+ </PackageReference >
1216 <PackageReference Include =" FluentAssertions" Version =" 6.7.0" />
1317 <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.1.0" />
1418 <PackageReference Include =" xunit" Version =" 2.4.1" />
You can’t perform that action at this time.
0 commit comments