-
Notifications
You must be signed in to change notification settings - Fork 10
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
Properly check for created coverage files #838
Conversation
An empty `ReportFile` is boolean-coerced to `False`, so we always need to explicitly compare it to `None`. This primarily fixes the `JetBrainsXML` parser always emitting empty `Report`s. Also fixes cobertura failing on empty filenames, and other smaller fixes.
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## main #838 +/- ##
==========================================
+ Coverage 98.02% 98.04% +0.02%
==========================================
Files 442 443 +1
Lines 36026 36054 +28
==========================================
+ Hits 35313 35350 +37
+ Misses 713 704 -9
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov ReportAttention: Patch coverage is ✅ All tests successful. No failed tests found.
@@ Coverage Diff @@
## main #838 +/- ##
==========================================
+ Coverage 98.02% 98.04% +0.02%
==========================================
Files 442 443 +1
Lines 36026 36054 +28
==========================================
+ Hits 35313 35350 +37
+ Misses 713 704 -9
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
@@ Coverage Diff @@
## main #838 +/- ##
==========================================
+ Coverage 98.02% 98.04% +0.02%
==========================================
Files 442 443 +1
Lines 36026 36054 +28
==========================================
+ Hits 35313 35350 +37
+ Misses 713 704 -9
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #838 +/- ##
==========================================
+ Coverage 98.02% 98.04% +0.02%
==========================================
Files 442 443 +1
Lines 36026 36054 +28
==========================================
+ Hits 35313 35350 +37
+ Misses 713 704 -9
Flags with carried forward coverage won't be shown. Click here to find out more.
|
An empty
ReportFile
is boolean-coerced toFalse
, so we always need to explicitly compare it toNone
.This primarily fixes the
JetBrainsXML
parser always emitting emptyReport
s. Also fixes cobertura failing on empty filenames, and other smaller fixes.Fixes codecov/feedback#532
Fixes WORKER-P9A