-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: adjust test coverage settings (#1315)
* chore: adjust config of report codecov * chore: adjust config of report codecov * chore: adjust jacoco excludes of compposables by pattern name * chore: cleanup * chore: cleanup * chore: cleanup
- Loading branch information
1 parent
e2bd52b
commit d63720a
Showing
2 changed files
with
40 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,48 @@ | ||
# Coverage configuration | ||
# | ||
# Validate this file using the following command in root project: | ||
# curl -X POST --data-binary @codecov.yml https://codecov.io/validate | ||
# ---------------------- | ||
codecov: | ||
notify: | ||
wait_for_ci: false | ||
|
||
coverage: | ||
status: | ||
project: | ||
default: | ||
# basic | ||
target: auto | ||
threshold: 5% | ||
base: auto | ||
patch: false | ||
status: | ||
project: | ||
default: | ||
target: auto | ||
threshold: 2% | ||
base: auto | ||
patch: | ||
default: | ||
informational: true # don't fail the build if patch coverage is below threshold | ||
target: 80% | ||
base: auto | ||
|
||
# Ignoring Paths | ||
# -------------- | ||
# which folders/files to ignore | ||
ignore: | ||
- ".*/test/.*" | ||
- "buildSrc/.*" | ||
- "kalium/.*" | ||
- ".*/androidTest/.*" | ||
- ".*/_version.py" | ||
- "setup.py" | ||
- ".*/_Screen.kt" | ||
- ".*/mock/.*" | ||
- ".*/theme/.*" | ||
- ".*/common/.*" | ||
- ".*/navigation/.*" | ||
- ".*/test/.*" | ||
- "buildSrc/.*" | ||
- "kalium/.*" | ||
- ".*/androidTest/.*" | ||
- ".*/_version.py" | ||
- "setup.py" | ||
- ".*/_Screen.kt" | ||
- ".*/mock/.*" | ||
- ".*/theme/.*" | ||
- ".*/common/.*" | ||
- ".*/navigation/.*" | ||
- ".*/di/.*" | ||
- ".*/.*Screen*.kt" | ||
|
||
# Pull request comments: | ||
# ---------------------- | ||
# Diff is the Coverage Diff of the pull request. | ||
# Files are the files impacted by the pull request | ||
comment: | ||
layout: diff, files # accepted in any order: reach, diff, flags, and/or files | ||
layout: diff, files, footer | ||
behavior: default | ||
require_changes: true |