fortran-lang / minpack

Modernized Minpack: for solving nonlinear equations and nonlinear least squares problems
https://fortran-lang.github.io/minpack/
Other
97 stars 20 forks source link

Add workflow for code coverage #26

Closed awvwgk closed 2 years ago

awvwgk commented 2 years ago

Attempt to integrate code coverage in the CI testing via codecov.io

codecov-commenter commented 2 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@026c4e6). Click here to learn what that means. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #26   +/-   ##
=======================================
  Coverage        ?   95.22%           
=======================================
  Files           ?        1           
  Lines           ?     1194           
  Branches        ?        0           
=======================================
  Hits            ?     1137           
  Misses          ?       57           
  Partials        ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 026c4e6...2c686e7. Read the comment docs.

certik commented 2 years ago

Fine with me. I haven't had good experience with Codecov in the past, it usually polluted all my PRs with comments with often incorrect results. But let's try it and see if it is reliable.

awvwgk commented 2 years ago

I'm actually quite surprised by the coverage percentage, for most of my projects I struggle to get it above 70%. But there are apparently no partial hits in this report, which usually lower the coverage percentage for me significantly, so maybe I missed some settings for lcov.