-
Notifications
You must be signed in to change notification settings - Fork 465
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
Enabled coverage with deterministic build #3478
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3478 +/- ##
==========================================
- Coverage 95.30% 94.99% -0.32%
==========================================
Files 1025 1025
Lines 232931 232509 -422
Branches 15052 13833 -1219
==========================================
- Hits 221990 220863 -1127
- Misses 9278 9802 +524
- Partials 1663 1844 +181 |
I'm seeing some changes in reported coverage that I can't explain yet. Can you send a second pull request that updates coverlet without enabling deterministic build to see if that's the source of the difference? |
@MarcoRossignoli One thought here: coverlet-coverage/coverlet@master...MarcoRossignoli:deterministicbuild#diff-d0e735819690b729526b502b93107f5eR6 It's possible that the test project may not be deterministic, for other reasons or incompatibilities, but the projects under test are. I think it'll "just work" without the condition in the test project. Also, may want to rename the target wokround from |
If you're talking about that 0.31 is possible because every release we update branches alg(to trim roslyn generated ones that our users doesn't like). I'll revert |
@sharwell I updated package/switch let me know. |
@MarcoRossignoli it looks like the new package is more accurate, though still lacking compared to e.g. OpenCover. For example, if we consider just NormalizeStringsToUppercase.cs: Master branch: This pull request: The main problems still occurring are:
|
@sharwell for "coverage" problem can you fill an issue on coverlet repo pls, better if with repro code so we can improve code coverage? EDIT: I don't have access to code coverage so I cannot see the diff. |
The new build seems fine. My only reluctance now is the use of an unofficial build. Once you log in to codecov.io with GitHub, it will work. |
🤦♂
This build is only for testing, we'll release official package as soon as it is ready. Feel free to close this PR for now. |
@MarcoRossignoli I'm looking forward to the update. I'm also excited by the prospect that the new test support will allow this project to start to cover these edge cases. |
Feel free to report issue with some repo(if possible)! |
Test coverage with deterministic build.
@sharwell let me know if update are enough to enable deterministic build or feel free to PR on my branch.
Also I'd like to know if coverage looks correct from your perspective.
On my local it seems to work
Repro commands coverlet-coverage/coverlet#363 (comment)
cc: @clairernovotny @tmat @tonerdo