Skip to content

Code coverage broken #174

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

Closed
jacobwilliams opened this issue Apr 26, 2016 · 12 comments
Closed

Code coverage broken #174

jacobwilliams opened this issue Apr 26, 2016 · 12 comments
Assignees
Labels

Comments

@jacobwilliams
Copy link
Owner

Since the recent splitting of json_module into multiple files, the code coverage generation is currently broken. I temporarily disabled it in the unit tests just so they would pass, but it should be fixed.

@zbeekman
Copy link
Contributor

To further complicate things, codecov.io just migrated to a config file based settings... the mapping/documentation between the old and new system is not 100% obvious, so I'll have to poke around a bit.

jacobwilliams added a commit that referenced this issue May 2, 2016
@jacobwilliams
Copy link
Owner Author

I started tinkering with it a bit...see codecov branch. Not finished. Whenever you get a free moment, you may have to clean up whatever mess I end up creating. :)

@zbeekman
Copy link
Contributor

zbeekman commented May 2, 2016

Haha fair. Yeah it looks like I won't be able to get to this this week. Hopefully next.

@jacobwilliams
Copy link
Owner Author

I think I've got it! I'll keep the ticket open and double check everything this week sometime.

@zbeekman
Copy link
Contributor

zbeekman commented May 3, 2016

Ok great. I'll try to get eyes on it when I can.

@jacobwilliams
Copy link
Owner Author

jacobwilliams commented May 3, 2016

Not sure what codecov/changes — 2 files have unexpected coverage cha... error is all about in PR #195. I think perhaps because the changes are in the unit test files, which we aren't logging coverage for?

@zbeekman
Copy link
Contributor

zbeekman commented May 3, 2016

The codecov upgrade has been a bit of a dog's breakfast. This one message
was created because the #1 support request used to be hunting down changes
"that should not have appeared". In my opinion this "feature" is likely
going to cause 10x more support requests for them from people who know what
they're doing and are confused/annoyed/offended by this asinine error. Yes
my coverage changed, but, no, it is not unexpected and it most certainly is
not an error.
On Mon, May 2, 2016 at 10:21 PM Jacob Williams [email protected]
wrote:

Not sure what codecov/changes — 2 files have unexpected coverage cha...
error is all about in PR #195
#195. I think perhaps
because the changes are in the unit test files, which we are logging
coverage for?


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#174 (comment)

@zbeekman
Copy link
Contributor

zbeekman commented May 3, 2016

(Btw your suspicion is right, it's generated when coverage changes without
touching parts of the code where this happened, I.e. Doing anything with
unit tests)
On Mon, May 2, 2016 at 11:55 PM Zaak Beekman [email protected] wrote:

The codecov upgrade has been a bit of a dog's breakfast. This one message
was created because the #1 support request used to be hunting down changes
"that should not have appeared". In my opinion this "feature" is likely
going to cause 10x more support requests for them from people who know what
they're doing and are confused/annoyed/offended by this asinine error. Yes
my coverage changed, but, no, it is not unexpected and it most certainly is
not an error.
On Mon, May 2, 2016 at 10:21 PM Jacob Williams [email protected]
wrote:

Not sure what codecov/changes — 2 files have unexpected coverage cha...
error is all about in PR #195
#195. I think
perhaps because the changes are in the unit test files, which we are
logging coverage for?


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#174 (comment)

@jacobwilliams
Copy link
Owner Author

Ug. We need to disable the ability of Codecov to cause a test failure. I haven't had a chance to look into it further, but it looks like every commit now fails because of this. I don't like seeing all those red X's!

@jacobwilliams
Copy link
Owner Author

Maybe this is magically fixed now? My last commit to #206 has coverage tests passing...

@zbeekman
Copy link
Contributor

yes, the pass/fail is trying to programmatically enforce coverage metrics i.e. certain minimum global coverage and coverage changes allowed by the commits, i.e. coverage can't decrease etc. Just a matter of finding the right settings and/or poking around the github project settings to turn off codecov pass/fail

@jacobwilliams jacobwilliams mentioned this issue Jun 26, 2016
@jacobwilliams
Copy link
Owner Author

Reduced target coverage to 70% for now. Closing issue, but we can fiddle with the settings some more if necessary.

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

No branches or pull requests

2 participants