exasim-project / OBR

A runner for OpenFOAM benchmarks
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Feature/coverage #89

Closed greole closed 1 year ago

greole commented 1 year ago

This PR enables logging of the test coverage and creating a dynamic badge using this approach https://nedbatchelder.com/blog/202209/making_a_coverage_badge.html

We could extend this to generate more badges. I think the current coverage of 98% seems to be unrealistically high. Maybe we need to dig a bit more into how coverage or pytest -cov works behind the scenes.

Additonally missing dependencies are specified in pyproject.toml