-
Notifications
You must be signed in to change notification settings - Fork 387
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
feat(ci): remove codecov
step from tox
since performed in GA
#719
Conversation
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #719 +/- ##
==========================================
+ Coverage 96.28% 96.39% +0.11%
==========================================
Files 27 27
Lines 3554 3554
==========================================
+ Hits 3422 3426 +4
+ Misses 132 128 -4 see 4 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
To run coverage locally, someone doesn't need to specify anything beyond coverage
, right? No extra env vars / flags? Or do they need to specify coverage -e ZOOKEPER_VERSION
?
@@ -40,9 +39,6 @@ commands = | |||
|
|||
[testenv:build] | |||
|
|||
[testenv:codecov] | |||
commands = - codecov -e TOX_VENV,ZOOKEEPER_VERSION |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like previously we ran coverage separately for each matrix entry... so removing this we'll only run it once, which means we lose visibility if a particular python/ zookeper version combo loses coverage unexpectedly due to a special casing in the code...
I personally think that's fine, coverage is more a "nice-to-have" tool to surface things, and rather have it run quickly than exhaustively, but wanted to document this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great point. I am not sure if that coverage for each matrix entry has ever worked, or if I broke something when switching to GA. Looking at the codecov history (https://app.codecov.io/gh/python-zk/kazoo/pulls?order=ASC) does not really help, but I don't remember seeing 20+ comments from codecov in PRs from old Travis times...
Anyway, I agree with you, 1 time per PR seems good enough.
Locally, if you want to use |
There is no need to perform the non-working `codecov` step via `tox` since we now have a Github Actions step that performs it.
aa9ffed
to
10daa15
Compare
Why is this needed?
There is no need to perform the non-working
codecov
step viatox
since we now have a Github Actions step that performs it.Proposed Changes
tox.ini
and removecodecov
related stufftesting.yml
to removecodecov
from matrixDoes this PR introduce any breaking change?
Nah.