NOAA-EMC / NCEPLIBS-ncio

This is a NOAA library used by NCEP GSI system to read the GFS forecast files for use in data assimilation.
Other
1 stars 6 forks source link

add code coverage to CI testing #48

Open edwardhartnett opened 3 years ago

edwardhartnett commented 3 years ago

@kgerheiser can you add the code coverage magic to this repo?

kgerheiser commented 3 years ago

Yep

edwardhartnett commented 3 years ago

OK, the problem here has to do with the way that this code is written, I believe. Since it's using F90 include statements, the code coverage is not working - this can clearly be seen in the gcovr messages in the output of the CI runs.

@kgerheiser any clever ideas here? Now that @BrianCurtis-NOAA has completed his test we would really like to see what else needs to be tested...

kgerheiser commented 3 years ago

I don't have an answer. I looked for some sort of gcovr option or something, but came up with nothing.