Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save frobichaud/c26e58713737960a4032d5f066b80aeb to your computer and use it in GitHub Desktop.
Save frobichaud/c26e58713737960a4032d5f066b80aeb to your computer and use it in GitHub Desktop.
Patch coverage 80% instead 60%
master[=]!petalmd.ios + $> curl --data-binary @codecov.yml https://codecov.io/validate
Valid!
{
"comment": {
"layout": "header, diff, changes, sunburst, uncovered",
"behavior": "default"
},
"coverage": {
"precision": 2,
"round": "down",
"notify": {
"slack": {
"default": {
"url": "https://hooks.slack.com/services/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",
"attachments": "sunburst, diff",
"branches": [
"master"
]
}
}
},
"range": [
70.0,
100.0
],
"status": {
"changes": {
"default": {
"enabled": true,
"if_ci_failed": "error",
"if_no_uploads": "error",
"if_not_found": "success"
}
},
"project": {
"default": {
"enabled": true,
"target": "auto",
"if_ci_failed": "error",
"if_no_uploads": "error",
"if_not_found": "success"
}
},
"patch": {
"default": {
"enabled": true,
"target": 60.0,
"if_ci_failed": "error",
"if_no_uploads": "error",
"if_not_found": "success"
}
}
}
},
"codecov": {
"bot": "petalbot",
"branch": "master",
"token": "6326a297-825c-4700-a2d6-e624a2d49a35"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment