nycmeshnet / meshdb

A convenient, stable, and sane database for tracking Members and Nodes for use with robots and humans
https://db.mesh.nycmesh.net
MIT License
8 stars 13 forks source link

Fix coverage metrics #469

Closed Andrew-Dickinson closed 1 month ago

Andrew-Dickinson commented 1 month ago

Whoops, for some reason the syntax we were using wasn't right. It's not really that good to include the test files or the migrations in the numerator of our coverage metrics, we meant to exclude them to improve our metrics accuracy

Also exclude the spreadsheet import script, since we are not really trying to test this - it's not code we have to maintain in the long term

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.73%. Comparing base (4e72638) to head (5aeba3d).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #469 +/- ## ========================================== - Coverage 95.07% 92.73% -2.35% ========================================== Files 110 61 -49 Lines 5380 2201 -3179 ========================================== - Hits 5115 2041 -3074 + Misses 265 160 -105 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.