Skip to content

Add codecov badge#69

Merged
dfed merged 3 commits into
mainfrom
dfed--codecov-badge
Oct 12, 2022
Merged

Add codecov badge#69
dfed merged 3 commits into
mainfrom
dfed--codecov-badge

Conversation

@dfed

@dfed dfed commented Oct 11, 2022

Copy link
Copy Markdown
Owner

As title

@dfed dfed requested review from bachand and fdiaz October 11, 2022 20:24
@dfed dfed marked this pull request as ready for review October 11, 2022 20:29

@bachand bachand left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving though it sounds like we're still having some issues with codecov (see #67 (comment)) so it may be best if we feel more confident before we add the badge.

Separately, would it be expected that this PR itself has a codecov comment?

@dfed

dfed commented Oct 12, 2022

Copy link
Copy Markdown
Owner Author

Approving though it sounds like we're still having some issues with codecov (see #67 (comment)) so it may be best if we feel more confident before we add the badge.

Yup. Going to try to get the other PR working before I merge this.

Separately, would it be expected that this PR itself has a codecov comment?

That we would! Working on it in #68

@dfed

dfed commented Oct 12, 2022

Copy link
Copy Markdown
Owner Author

Now that #68 is merged, I'll get this in once CI goes green again.

@codecov

codecov Bot commented Oct 12, 2022

Copy link
Copy Markdown

Codecov Report

Merging #69 (ea12b06) into main (16e6563) will not change coverage.
The diff coverage is n/a.

❗ Current head ea12b06 differs from pull request most recent head bb99592. Consider uploading reports for the commit bb99592 to get more accurate results

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #69   +/-   ##
=======================================
  Coverage   96.26%   96.26%           
=======================================
  Files          14       14           
  Lines         562      562           
=======================================
  Hits          541      541           
  Misses         21       21           

@dfed dfed merged commit fd03b6d into main Oct 12, 2022
@dfed dfed deleted the dfed--codecov-badge branch October 12, 2022 18:43
@bachand

bachand commented Oct 12, 2022

Copy link
Copy Markdown
Collaborator

@dfed I'm wondering how we can avoid this codecov warning?
Screen Shot 2022-10-12 at 2 29 46 PM

It seems like when you pushed bb99592 we somehow didn't update codecov with the necessary information to recompute code coverage?

I came to that conclusion since that I see that codecov added this warning later, and the original message is comparing ea12b06, the previous commit, to the base branch.

Screen Shot 2022-10-12 at 2 30 18 PM

@bachand

bachand commented Oct 12, 2022

Copy link
Copy Markdown
Collaborator

If you'd prefer I can file an issue on this too. Not trying to add more work. You've already done some amazing KTLO work on this repo this week :)

@dfed

dfed commented Oct 12, 2022

Copy link
Copy Markdown
Owner Author

Oh I know what happened here @bachand. I merged main into this branch, then merged before CI completed since I was only updating the README.

My guess is that codecov doesn't update posts on closed/merged PRs, so we never got to see the update for the latest commit.

I guess that teaches me not to take shortcuts 😅

@bachand

bachand commented Oct 12, 2022

Copy link
Copy Markdown
Collaborator

Ah OK I'm relieved we have a good theory 👍

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants