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

coverage badge #397

Closed
ronag opened this issue Aug 31, 2020 · 10 comments · Fixed by #483
Closed

coverage badge #397

ronag opened this issue Aug 31, 2020 · 10 comments · Fixed by #483
Labels
Status: help-wanted This issue/pr is open for contributions

Comments

@ronag
Copy link
Member

ronag commented Aug 31, 2020

Would be nice to have a badge for coverage since we do often land stuff that does not maintain 100 coverage. I usually try to ensure 100 coverage just before a release.

@ronag ronag added the Status: help-wanted This issue/pr is open for contributions label Aug 31, 2020
@dnlup
Copy link
Contributor

dnlup commented Nov 7, 2020

What service do you prefer? What about https://coveralls.io/?

@mcollina
Copy link
Member

mcollina commented Nov 7, 2020

Note that we need to ask the TSC to add external services. I'm happy to use coveralls if somebody else set it up: unfortunately I have too many repos and my account cannot be opened anymore (that's also a good reason to not use them).

@dnlup
Copy link
Contributor

dnlup commented Nov 8, 2020

Of course, thank you. I have seen that Node is using https://codecov.io/, maybe they would be more inclined to use that service? Or maybe there could be a way to just add a badge using Actions.

@mcollina
Copy link
Member

mcollina commented Nov 8, 2020

I'm inclined to use codecov as well :).

@dnlup
Copy link
Contributor

dnlup commented Nov 8, 2020

I'm inclined to use codecov as well :).

Sorry, you're right 😁

@dnlup
Copy link
Contributor

dnlup commented Nov 17, 2020

I have a working branch using codecov here. Is it safe to open a PR?

@dnlup
Copy link
Contributor

dnlup commented Nov 17, 2020

Link to a report of the same branch:

https://codecov.io/gh/dnlup/undici/branch/coverage_badge

@mcollina
Copy link
Member

Nice! What would you need to enable this here? Could you just PR it?

@dnlup
Copy link
Contributor

dnlup commented Nov 17, 2020

Nice! What would you need to enable this here? Could you just PR it?

To enable just the coverage report with the badge I think it should work just by opening the PR. To enable the full integration it should be installed at the org level I think, but that can be done anytime, if necessary. The full integration should provide comments in PRs.

@dnlup
Copy link
Contributor

dnlup commented Nov 17, 2020

I'll open a PR

@dnlup dnlup mentioned this issue Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: help-wanted This issue/pr is open for contributions
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants