pypsa-meets-earth / pypsa-earth

PyPSA-Earth: A flexible Python-based open optimisation model to study energy system futures around the world.
https://pypsa-earth.readthedocs.io/en/latest/
207 stars 167 forks source link

Add codecov coverage for verifying the ratio of code that is actually tested by the CI #337

Open davide-f opened 2 years ago

davide-f commented 2 years ago

Describe the feature you'd like to see

Add codecov coverage for verifying the ratio of code that is actually tested by the CI

davide-f commented 2 years ago

I've investigated a bit this issue, in agreement to the guide

The main problem to finalize the installation that I've noticed is that we need to obtain a coverage report (typicall in xml format) that is usually provided by the testing procedure that we are using. In this case, we would need snakemake itself to produce it as we run the workflow using it, though I have not found a solution yet to that. Given the priorities we have, I may shift the attention to other tasks, while keeping the above in mind.