Skip to content

Commit

Permalink
Improve codecov configuration
Browse files Browse the repository at this point in the history
* Project checks will tolerate a -0.5% drop and still pass. This prevents minor changes and non-code changes from failing the CI checks.
* Patch checks require 75% coverage of the changed code to pass
  • Loading branch information
droidmonkey committed Aug 6, 2023
1 parent c041f45 commit e1482de
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,24 @@ coverage:
range: 60..80
round: nearest
precision: 2
status:
project:
default:
target: auto
threshold: 0.5%
paths:
- "src"
patch:
default:
target: 75%
threshold: 0%
paths:
- "src"
fixes:
- "*/src/::"
ignore:
- "src/gui/styles/**"
- "src/thirdparty/**"
- "src/zxcvbn/**"
comment:
require_changes: true

0 comments on commit e1482de

Please sign in to comment.