claws / aioprometheus

A Prometheus Python client library for asyncio-based applications
174 stars 21 forks source link

Update CI to upload coverage data to codecov #61

Closed claws closed 2 years ago

claws commented 2 years ago

This change updates the CI pipeline to upload code coverage report to codecov which allows code coverage to be tracked over time. Updated the Makefile 'coverage' rule to produce the XML data expected by the codecov uploader. Updated docs to display a code coverage status badge provided by codecov.

codecov-commenter commented 2 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@3f1fdf8). Click here to learn what that means. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #61   +/-   ##
=========================================
  Coverage          ?   95.48%           
=========================================
  Files             ?       17           
  Lines             ?      776           
  Branches          ?       99           
=========================================
  Hits              ?      741           
  Misses            ?       19           
  Partials          ?       16           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3f1fdf8...4833565. Read the comment docs.