Improve codecov configuration

* 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
This commit is contained in:
Jonathan White 2023-08-06 00:27:44 -04:00
parent c041f45138
commit e1482dee2b

View File

@ -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