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 not being updated in total but individual ones #1488

Closed
94929 opened this issue Sep 22, 2020 · 1 comment
Closed

Coverage not being updated in total but individual ones #1488

94929 opened this issue Sep 22, 2020 · 1 comment

Comments

@94929
Copy link

94929 commented Sep 22, 2020

Unsure why this is happening: 
 - my badge is stuck at 81% (https://github.com/whyboris/karma-helpful-reporter)
 - it shows 81% on Coveralls (https://coveralls.io/github/whyboris/karma-helpful-reporter?branch=karma-helpful-reporter)
 - but the last build is 98.638% (https://coveralls.io/builds/12852563)

I'm not sure why Coveralls is ignoring my last build and showing the number from several weeks ago. Perhaps this is a different issue than what the others in this thread are having.

_Originally posted by @whyboris in https://github.com/lemurheavy/coveralls-public/issues/971#issuecomment-322946878_

I get the same issue https://coveralls.io/github/LUXROBO/pymodi, would appreciate if anyone could help.

Thanks in advance.

@afinetooth
Copy link
Collaborator

afinetooth commented Sep 22, 2020

Hi @jha929,

I'm now seeing your badge coverage is up-to-date. That's on:

Screen Shot 2020-09-22 at 11 22 00 AM

Screen Shot 2020-09-22 at 11 22 57 AM

Screen Shot 2020-09-22 at 11 24 21 AM

Given that build is from 2017, it's hard to say what has transpired since then that might have changed.

But as far as badges showing outdated coverage, we have seen that be an issue on GitHub in particular as they have an aggressive caching mechanism, discussed here:
github/markup#224

We typically point users to this how to, to purge their cache:

$ curl -X PURGE https://camo.githubusercontent.com/4d04abe0044d94fefcf9af2133223....
> {"status": "ok", "id": "216-8675309-1008701"}

Since this appears to be resolved, I'm going to close the issue. Just reply if anything remains to be done.

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

No branches or pull requests

2 participants