-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Generate code coverage output with coverlet #1866
Conversation
StanleyGoldman
commented
Sep 7, 2018
•
edited
Loading
edited
- Integrate a tool to generate code coverage
- Integrate codecov.io
- Added badge to readme
1b4abff
to
e5c66aa
Compare
So far I'm having issues using |
Hey @StanleyGoldman this is awesome! I've been wanting to get coverage stuff in place. I'm not sure about coverlet, I was planning on following what John Skeet has on https://github.com/nodatime/nodatime (using dotcover I believe) |
Hey @ryangribble. Yea, I've just been on a code coverage spree lately. I got coverlet and codecov working with https://github.com/octokit/octokit.graphql.net and https://github.com/justaprogrammer/MSBuildLogOctokitChecker I'm just having trouble with coverlet and this project, so hopefully they can help me out. |
Also, wouldn't you have to get a license of dotcover for this? |
Hmm I had a feeling you could get dotcover for free on open source projects |
That is quite possible.. |
Here, read: https://www.jetbrains.com/buy/opensource/ |
7bcbe60
to
55e36f6
Compare
Okay. Well I don't know how to feel about code coverage tools. I can't find a comparison of dotCover vs other similar tools, but I did manage to get coverlet operational thanks to help from some of their users. We can use another tool in it's place as they all support a common output format. Now i'm struggling with codecov.io. I have it integrated but I can't seem to get their report uploader to work correctly. |
bc84fc7
to
9173225
Compare
@ryangribble I logged some issues for remaining work, but I think this is good to merge. |
Codecov Report
@@ Coverage Diff @@
## master #1866 +/- ##
=========================================
Coverage ? 70.84%
=========================================
Files ? 529
Lines ? 13928
Branches ? 0
=========================================
Hits ? 9867
Misses ? 4061
Partials ? 0 |
Just checking if you're encountering any issues with Coverlet that's preventing this from getting merged |
Sadly I let this one drift and I'm struggling to get back up to speed on it 😳 Apart from the obvious merge conflicts, it seems like some other things could possibly need looking at now due to the passage of time... for example this is using a local implementation that runs coverlet.exe as a cake tool directly, whereas the linked issue indicates this may now be merged into the Im also wanting to understand the implications of changing pdb type to portable, and can spot a few things (like hardcoded paths to coverlet.exe) that should be tidied up (declare coverlet path in a more central place, etc) |
@ryangribble I've also been MIA on this, so it's not just you. And yea, we'll have to find out some more information regarding PDB types. |
b5dc924
to
2660db5
Compare
a5d7926
to
2660db5
Compare
Co-Authored-By: Stanley Goldman <[email protected]>
2660db5
to
7837fe5
Compare
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.
Removed that pdb change. It seems I was working around an issue in coverlet and not realizing it. coverlet-coverage/coverlet#476
@StanleyGoldman great - thanks for following up with that helpful context! |
release_notes: Added code coverage reporting to CI build |