harmonica icon indicating copy to clipboard operation
harmonica copied to clipboard

Replace codecov for simpler GitHub Actions solution

Open santisoler opened this issue 8 months ago • 2 comments

Replace push of test coverage reports to codecov for a simpler solution that publishes coverage report in GitHub Actions outputs. Remove .coveragerc and move configs to pyproject.toml. Run coverage on tests as well.

Relevant issues/PRs:

Inspired on changes made in fatiando/bordado.

Todo

  • [ ] Open issue to generate HTML report in case of failure. This might be tricky due to the flat layout we are using in Harmonica.
  • [ ] Tell coverage to ignore the functions that are decorated with @run_only_with_numba.

santisoler avatar Apr 15 '25 16:04 santisoler

@santisoler I got this working in Tremelique today and I implemented the fix here (hopefully it works).

leouieda avatar May 07 '25 19:05 leouieda

Not sure why it's still failing here. Will investigate.

leouieda avatar May 07 '25 20:05 leouieda

Closing this one for now... Last month I sorted out codecov failures. I think we can keep it for a while longer.

santisoler avatar Nov 12 '25 22:11 santisoler