GromacsWrapper icon indicating copy to clipboard operation
GromacsWrapper copied to clipboard

codecov coverage dropped to 0%

Open orbeckst opened this issue 1 year ago • 2 comments

The codecov coverage for PRs shows 0% and the total coverage for main is also 0% even though it should be around 69%.

I recently updated .codecov.yml to point to main so maybe that threw something off.

Or maybe it will all go away by itself... 🌈 🦄

orbeckst avatar Jun 17 '24 07:06 orbeckst

reconfiguration did not bring coverage back

orbeckst avatar Sep 14 '24 00:09 orbeckst

CI said https://github.com/Becksteinlab/GromacsWrapper/actions/runs/11219933484/job/31186993473#step:7:300

/home/runner/micromamba/envs/gromacs_wrapper/lib/python3.11/site-packages/coverage/control.py:894: CoverageWarning: No data was collected. (no-data-collected)
  self._warn("No data was collected.", slug="no-data-collected")

orbeckst avatar Oct 07 '24 16:10 orbeckst

The solution was to use an editable install pip install -e . because pytest --cov=gromacs would always see the "./gromacs" directory and not the installed "gromacs" module.

orbeckst avatar Jul 11 '25 22:07 orbeckst