Skip to content

Improve Travis / tox setup + coverage - #851

Merged
untitaker merged 5 commits into
pallets:masterfrom
blueyed:improve-travis-tox
Oct 10, 2017
Merged

Improve Travis / tox setup + coverage#851
untitaker merged 5 commits into
pallets:masterfrom
blueyed:improve-travis-tox

Conversation

@blueyed

Copy link
Copy Markdown
Contributor

Mainly inspired by using pytest directly in tox, for easy test selection
etc.

Mainly inspired by using pytest directly in tox, for easy test selection
etc.
@blueyedblueyed changed the title Improve Travis / tox setupImprove Travis / tox setup + coverageSep 26, 2017
@blueyed

blueyed commented Sep 26, 2017

Copy link
Copy Markdown
ContributorAuthor

Added coverage reports via codecov, which can be seen at https://codecov.io/gh/pallets/click/branch/improve-travis-tox.

This hopefully works around `complex/complex/commands/__init__.py` and
`termui/termui.py` showing up in `examples` (at the root).
@blueyed

Copy link
Copy Markdown
ContributorAuthor

@untitaker@axu2
Can you take a look, please?

@blueyed

Copy link
Copy Markdown
ContributorAuthor

Also please authorize/install codecov on https://codecov.io/gh/pallets/click/.

@untitaker

untitaker commented Oct 1, 2017 via email

Copy link
Copy Markdown
Contributor

@blueyed

Copy link
Copy Markdown
ContributorAuthor

@untitaker
What do you mean by "extremely buggy"?
What I am seeing sometimes is multiple comments, also only one should be there and edited.

maintenance effort

Do you mean that you have or want to delete the duplicated comments then?

If this is the issue you mean it might be solvalble by @codecov just fixing it in the end.. ;)

From my point of view codecov provides a lot of valuable insights.

@ThiefMaster

Copy link
Copy Markdown
Member

IMO even just a single codecov comment on every PR is somewhat annoying. I like getting notifications from GitHub for new PRs and comments since that's convenient to see if there's anything to comment on, a PR to review, etc. But codecov comments? I'm tempted to overcome my laziness and configure my email filter to send the notifications about them straight to the trash folder. But that aside, IMO these comments are more noise than adding useful comment.

@blueyed

Copy link
Copy Markdown
ContributorAuthor

@ThiefMaster
The recommended way is to install codecov's GitHub integration, where you would not see comments in your emails (AFAIK): https://github.com/integration/codecov.
Anyone with admin rights here could try it already.

Otherwise you could also just block the bot user (https://github.com/codecov-io), and be done with it I guess.

@blueyed

Copy link
Copy Markdown
ContributorAuthor

Especially for PRs codecov's reporting is valuable, since it will tell you if coverage drops and if the diff is covered etc.

@untitaker

untitaker commented Oct 6, 2017 via email

Copy link
Copy Markdown
Contributor

@blueyed

Copy link
Copy Markdown
ContributorAuthor

@untitaker
It is still the best service for it, isn't it? coveralls is much worse and there is no other.

@untitaker

untitaker commented Oct 6, 2017 via email

Copy link
Copy Markdown
Contributor

@blueyed

Copy link
Copy Markdown
ContributorAuthor

What about the benefit to see if a PR covers its diff?

@blueyed

Copy link
Copy Markdown
ContributorAuthor

And even in general, I think you can grasp a lot of useful info from https://codecov.io/gh/pallets/click/tree/improve-travis-tox/click already.

@untitaker

untitaker commented Oct 6, 2017 via email

Copy link
Copy Markdown
Contributor

@untitaker

untitaker commented Oct 6, 2017 via email

Copy link
Copy Markdown
Contributor

@blueyed

Copy link
Copy Markdown
ContributorAuthor

@untitaker
Thanks.

@blueyed

Copy link
Copy Markdown
ContributorAuthor

btw: it might be better to use pytest-cov here, since it would also track subprocess automatically - not sure if that is used in tests?!

@untitaker
untitaker merged commit b471d34 into pallets:masterOct 10, 2017
@untitaker

Copy link
Copy Markdown
Contributor

Thanks! Codecov seems to be already activated.

@blueyed
blueyed deleted the improve-travis-tox branch October 10, 2017 22:42
@github-actionsgithub-actionsBot locked as resolved and limited conversation to collaborators Nov 13, 2020
@kdeldyckekdeldycke added this to the 7.0 milestone Aug 8, 2026
@kdeldyckekdeldycke added the tests Click's own test suite and CI workflows label Aug 8, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

testsClick's own test suite and CI workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@blueyed@untitaker@ThiefMaster@kdeldycke