atomec-project / atoMEC

Python-based average-atom code for simulations of high energy density phenomena such as in warm dense matter.
https://atomec-project.github.io/atoMEC/
BSD 3-Clause "New" or "Revised" License
17 stars 12 forks source link

Add codecov to github actions #169

Closed timcallow closed 1 year ago

timcallow commented 1 year ago

Trying to add Codecov integration to GitHub actions.

So far, I followed steps GH0-GH2 here.

Seems we should first merge this branch into develop, according to the guide linked above. Then we can add more things like minimum coverage checks and a badge.

codecov[bot] commented 1 year ago

Codecov Report

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

@@            Coverage Diff             @@
##             develop     #169   +/-   ##
==========================================
  Coverage           ?   97.55%           
==========================================
  Files              ?       13           
  Lines              ?     2086           
  Branches           ?        0           
==========================================
  Hits               ?     2035           
  Misses             ?       51           
  Partials           ?        0           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

DanielKotik commented 1 year ago

Do you really need a CodeCov account? Even if you only want to have the CodeCov badge in the README (GH3)?

timcallow commented 1 year ago

Do you really need a CodeCov account? Even if you only want to have the CodeCov badge in the README (GH3)?

Don't see how this would be possible, CodeCov won't give you a badge url without setting everything else up first.