Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

https://github.com/JuliaCI/Coverage.jl/issues/187#issuecomment-470198083 #1163

Closed
wants to merge 3 commits into from

Conversation

sbromberger
Copy link
Owner

No description provided.

@codecov
Copy link

codecov bot commented Mar 6, 2019

Codecov Report

Merging #1163 into master will increase coverage by 0.76%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1163      +/-   ##
==========================================
+ Coverage   99.11%   99.87%   +0.76%     
==========================================
  Files          92       92              
  Lines        4181     4149      -32     
==========================================
  Hits         4144     4144              
+ Misses         37        5      -32

@fingolfin
Copy link

This won't work if you only do it for Travis but not AppVeyor, as the results of the two are merged.

@fingolfin
Copy link

Aha, but it seems that while you have an appveyor.yml, AppVeyor still did not run on this PR?

@fingolfin
Copy link

Aha, but you did not actually ensure that it uses the latest Coverage.jl master branch -- so it is still using Coverge.jl 0.8.0, which does not know about DISABLE_AMEND_COVERAGE_FROM_SRC...

@fingolfin
Copy link

In fact, not even the master branch is enough, you'll need the code from that PR, resp. from my mh/DISABLE_AMEND_COVERAGE_FROM_SRC branch... But tell you what, we should just make a release with DISABLE_AMEND_COVERAGE_FROM_SRC in it, then testing this becomes trivial.

@sbromberger
Copy link
Owner Author

@fingolfin I just reran travis w/ codecov - does this look correct to you?

@fingolfin
Copy link

No... hmm, the coverage displayed by codecov for some reason meshes the results of two Travis build with two jobs each, see
https://codecov.io/gh/JuliaGraphs/LightGraphs.jl/commit/b10cf534534cb660dbbd79ffd62d0fb29f4c113f/build

This is because once the branch is built as a PR, and once as branch of your repo. Now, looking at the build logs, three of the four jobs used Coverage.jl 0.9.0, but one used 0.7.0, and that is tainting the results. Perhaps a cache for installed packages was used and not properly reset on some of the builders?!?

Anyway, try restarting
https://travis-ci.org/JuliaGraphs/LightGraphs.jl/jobs/503662768 and/or update this PR again for another rebuild.

@sbromberger
Copy link
Owner Author

@fingolfin restarted....

@fingolfin
Copy link

Both Julia 0.7 jobs are using Coverage.jl 0.7.0 (which is three versions behind); hmm, I just realize this is way behind, as 0.8.0 and 0.8.1 had been released some time ago.

Perhaps try disabling Julia 0.7 for the sake of testing this?

@sbromberger
Copy link
Owner Author

yup! see #1167. It fixed things.

@sbromberger
Copy link
Owner Author

I'm pretty sure we don't want this since it won't count functions that aren't executed at all. @fingolfin - do I have this right?

@fingolfin
Copy link

Yes, agreed

@sbromberger sbromberger deleted the sbromberger/fix-codecov branch February 17, 2020 02:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants