Closed Farreeda closed 10 months ago
Merging #54 (10d67d8) into main (77126d0) will increase coverage by
0.59%
. The diff coverage is76.11%
.
@@ Coverage Diff @@
## main #54 +/- ##
==========================================
+ Coverage 73.36% 73.96% +0.59%
==========================================
Files 6 6
Lines 199 265 +66
==========================================
+ Hits 146 196 +50
- Misses 53 69 +16
Files Changed | Coverage Δ | |
---|---|---|
src/getters.jl | 82.38% <76.11%> (-3.98%) |
:arrow_down: |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
Hey @Farreeda , I investigated further about the reason why the CodeCov bot is marking this as unsuccessful. It's because it detected a few dispatches and functions that were not part of the test suite (or so it thinks). Just to be safe, could you look through this log here: https://app.codecov.io/gh/JuliaHealth/OMOPCDMCohortCreator.jl/pull/54/blob/src/getters.jl and where it is marked with red, could you see if we are missing a test for that dispatch? For example, this segment:
Seems to show there isn't a test that is covering the DataFrame-based dispatch for the GetVisitDate
function. For the functions that have this issue, could you check to see if there are tests missing and if there are, could you add them in? Right now, we'll still have to skip the GetPatientState and the GetDrugAmounts as Eunomia really doesn't have that information. Then I think the bot should be mostly satisfied. Or at least we should have a Code Coverage of higher than 69.43% reported:
@Farreeda also, I re-enabled the GitHub actions to run the test suite and as you can see, tests are failing. I checked out your branch onto my computer and ran the test suite. Here was the test log I got:
Thankfully, there are only a few errors! Once you finish up with the small comments I made and fixing the test suite here, we are set to merge!