GromacsWrapper
GromacsWrapper copied to clipboard
codecov coverage dropped to 0%
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... 🌈 🦄
reconfiguration did not bring coverage back
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")
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.