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

Idea: use code coverage reports as a quality index #25

Open
0xced opened this issue Oct 17, 2016 · 0 comments
Open

Idea: use code coverage reports as a quality index #25

0xced opened this issue Oct 17, 2016 · 0 comments

Comments

@0xced
Copy link

0xced commented Oct 17, 2016

Not sure about the rating. Maybe something like > 80% → +3pts and > 90% → +5pts ?

It’s pretty easy to query coveralls, just give it a commit hash and extract the covered_percent field:

$ curl -s https://coveralls.io/builds/020a4aacb7df323947b3a092b63e7b416705bdd7.json | jq .covered_percent
94.8892674616695

It should be pretty easy to query codecov too, but something is broken: https://github.com/codecov/support/issues/307

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant