Skip to content

Commit

Permalink
Bump test metric thresholds to 90 and 65 from 85 and 60 (for line and…
Browse files Browse the repository at this point in the history
… branch coverage respectively). (Azure#955)

* Move test threshold to 90 and 65 from 85 and 60.

* Intentionally bump branch coverage metric higher to test CI failure
(70%).

* Revert "Intentionally bump branch coverage metric higher to test CI failure"

This reverts commit 13a9ded3298e289229d60bac98dd8810c4ce987a.
  • Loading branch information
ahsonkhan authored Jul 25, 2020
1 parent 268ec74 commit e33b400
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eng/pipelines/templates/jobs/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ jobs:
checkCoverage: true
coverageFailOption: fixed
coverageType: line
# 85% minimum line coverage
coverageThreshold: 85
# 90% minimum line coverage
coverageThreshold: 90
condition: eq(variables['AZ_SDK_CODE_COV'], 1)

- task: mspremier.BuildQualityChecks.QualityChecks-task.BuildQualityChecks@6
Expand All @@ -273,8 +273,8 @@ jobs:
checkCoverage: true
coverageFailOption: fixed
coverageType: branch
# 60% minimum branch coverage
coverageThreshold: 60
# 65% minimum branch coverage
coverageThreshold: 65
condition: eq(variables['AZ_SDK_CODE_COV'], 1)

- job: GenerateReleaseArtifacts
Expand Down

0 comments on commit e33b400

Please sign in to comment.