Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix misleading codecov failures #1159

Merged
merged 1 commit into from Nov 22, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 11 additions & 0 deletions codecov.yml
Expand Up @@ -2,3 +2,14 @@ fixes:
# Remap from npm-installed ts-node to root of project
# This can take the place of ./scripts/rewrite-coverage-paths.js
- "tests/node_modules/ts-node/::"

coverage:
status:
patch:
default:
# Do not fail when `patch` coverage is low. When this fails, it is misleading and not necessarily bad.
# For example if a patch changes 2 lines, and only one is covered, then patch coverage is 50%.
target: 0%
project:
default:
threshold: 1%