Skip to content

Commit

Permalink
Codecov allow 0.2% coverage threshold (#3553)
Browse files Browse the repository at this point in the history
- Add 0.2% code coverage threshold to account
 for flaky tests.
- Ref: https://docs.codecov.com/docs/commit-status#threshold
- "Allow the coverage to drop by X%, and posting a success status."
  • Loading branch information
chetangudisagar committed Mar 20, 2023
1 parent 5821084 commit b84ef87
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
# Ref: https://docs.codecov.com/docs/codecov-yaml
coverage:
precision: 2
round: nearest
range: "40...70"
ignore:
- "generator/src/main/java/**/*"
- "samples/**/*"
# Ref: https://docs.codecov.com/docs/commit-status
status:
patch: off
patch:
off
project:
default:
target: auto
threshold: 0.2%

0 comments on commit b84ef87

Please sign in to comment.