Skip to content

Commit 80e3d7c

Browse files
committed
ut regression check
1 parent 77fa0cf commit 80e3d7c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.pipelines/templates/run-unit-tests.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,17 @@ stages:
3737
condition: always()
3838
inputs:
3939
summaryFileLocation: total_ut_coverage.xml
40+
- task: BuildQualityChecks@8
41+
displayName: "Check Code Coverage Regression"
42+
condition: always()
43+
inputs:
44+
checkCoverage: true
45+
coverageFailOption: "build"
46+
coverageType: "lines"
47+
fallbackOnPRTargetBranch: false
48+
baseBranchRef: "master"
49+
allowCoverageVariance: true
50+
coverageVariance: 0.25
4051

4152
- stage: test_windows
4253
displayName: Test ACN Windows

0 commit comments

Comments
 (0)