{"repo":"py-cov-action/python-coverage-comment-action","free":true,"listed":false,"github":"https://github.com/py-cov-action/python-coverage-comment-action","clone":"git clone https://github.com/py-cov-action/python-coverage-comment-action.git","description":"Publish coverage report as PR comment, and create a coverage badge & dashboard to display on the Readme for Python projects, all inside GitHub without third party servers","language":"Python","stars":143,"topics":["github-actions","actions","coverage","python"],"license":"MIT","category":"dashboards-admin","readme_excerpt":"GitHub Action: Python Coverage Comment Presentation This action analyses the coverage data produced by the Python coverage library and produces: - A badge to display on your README - A comment in the pull requests detailing how the PR impacts the coverage: - Old and new coverage rates per file and total - Coverage of new lines per file and total - (optional) Annotations on lines missing coverage displayed in the PR directly - A Job Summary - A browsable folder containing: - The coverage summary - The full HTML coverage in a browsable format (not available for private repos) All of this runs on top of GitHub Action without extra-charges and runs on the GitHub infrastructure: your code isn't sent anywhere out of GitHub. See this action in action What does it do? This action operates on an already generated .coverage file from coverage. It has two main modes of operation: PR mode On PRs, it will analyze the .coverage file, and produce a comment that will be posted to the PR. If a comment had already previously be written, it will be updated. The comment contains information on the evolution of coverage rate attributed to this PR, as well as the rate of coverage for lines that this PR introduces. There's also a small analysis for each file in a collapsed block. This comment will also be output as a job summary. See an example. Default branch mode On repository's default branch, it will extract the coverage rate and create files that will be stored on a dedicated independent branc","default_branch":null,"files":null,"tree":[],"storefront":"/r/py-cov-action","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/py-cov-action/python-coverage-comment-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}