Skip to content

Commit 4b279f8

Browse files
committed
update tool and check 80% code coverage
1 parent 8fbc2e0 commit 4b279f8

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.config/dotnet-tools.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"isRoot": true,
44
"tools": {
55
"dotnet-reportgenerator-globaltool": {
6-
"version": "5.1.24",
6+
"version": "5.1.26",
77
"commands": [
88
"reportgenerator"
99
]
1010
}
1111
}
12-
}
12+
}

eng/publish-coverage-results.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,11 @@ steps:
3131
codeCoverageTool: Cobertura
3232
summaryFileLocation: '$(Build.SourcesDirectory)/artifacts/CoverageReport/Cobertura.xml'
3333
failIfCoverageEmpty: ${{parameters.breakBuild}}
34+
35+
- task: BuildQualityChecks@9
36+
displayName: 'Check build quality'
37+
inputs:
38+
checkCoverage: true
39+
coverageFailOption: fixed
40+
coverageType: lines
41+
coverageThreshold: 80

0 commit comments

Comments
 (0)