Skip to content

Commit ea0c310

Browse files
authored
chore: relax test coverage threshold and update docs (#300)
1 parent adc6184 commit ea0c310

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/.codecov.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ coverage:
66
project:
77
default:
88
target: auto
9-
threshold: 0.3%
9+
threshold: 3%
1010
if_ci_failed: error
1111
only_pulls: false
1212

1313
patch:
1414
default:
1515
target: auto
16-
threshold: 20%
16+
threshold: 25%

CONTRIBUTING.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,13 @@ to enable better overview over changes and enables automated tooling based on co
2525

2626
## Tests & test coverage
2727

28-
The test coverage goal is > 95%. Please try to add tests for everything you add to the codebase. If in doubt, you’re always welcome to open an issue and ask for help.
28+
We try to test as much as possible. However, tests are only one indicator for a functioning codebase.
29+
We do not aim to cover 100% of code, but use test coverage as a helpful indicator to point out code paths we should test.
30+
31+
Please do:
32+
33+
- try to add tests for everything you add to the codebase. If you're unsure about how to test, please open a pull request and ask for input so we can work on it together!
34+
- add regression tests for bug fixes
2935

3036
## Common errors
3137

0 commit comments

Comments
 (0)