{"id":25620736,"url":"https://github.com/drew2a/annotate-coverage-action","last_synced_at":"2026-05-25T05:30:17.940Z","repository":{"id":278387240,"uuid":"935432138","full_name":"drew2a/annotate-coverage-action","owner":"drew2a","description":"GitHub Action for adding annotations for uncovered lines in PRs","archived":false,"fork":false,"pushed_at":"2025-02-19T14:11:57.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-19T14:27:26.850Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drew2a.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-19T12:41:46.000Z","updated_at":"2025-02-19T14:08:12.000Z","dependencies_parsed_at":"2025-02-19T14:37:32.980Z","dependency_job_id":null,"html_url":"https://github.com/drew2a/annotate-coverage-action","commit_stats":null,"previous_names":["drew2a/annotate-coverage-action"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drew2a%2Fannotate-coverage-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drew2a%2Fannotate-coverage-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drew2a%2Fannotate-coverage-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drew2a%2Fannotate-coverage-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drew2a","download_url":"https://codeload.github.com/drew2a/annotate-coverage-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240139668,"owners_count":19754158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-22T07:27:54.185Z","updated_at":"2026-05-25T05:30:17.697Z","avatar_url":"https://github.com/drew2a.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build and Test](https://github.com/drew2a/annotate-coverage-action/actions/workflows/ci.yml/badge.svg)](https://github.com/drew2a/annotate-coverage-action/actions/workflows/ci.yml)\n\n\n# Annotate Coverage Action\n\nThis GitHub Action adds annotations for uncovered lines in PRs based on a coverage report.\n\n# What's new\n\nPlease refer to the [release page](https://github.com/drew2a/annotate-coverage-action/releases/latest) for the latest release notes.\n\n# Usage\n\n\u003c!-- start usage --\u003e\n```yaml\n- uses: drew2a/annotate-coverage-action@v1\n  with:\n    # Path to the JSON coverage report generated by diff-cover\n    # Required\n    json_path: \"diff_coverage.json\"\n```\n\u003c!-- end usage --\u003e\n\n### Example of usage\n\n```yaml\n- name: Run Tests\n  run: |\n    poetry run pytest --cov --cov-report=xml --cov-report=term-missing\n\n- name: Compare coverage\n  run: |\n    poetry run diff-cover coverage.xml --compare-branch=origin/main --json-report=diff_coverage.json\n\n- name: Annotate uncovered lines\n  uses: drew2a/annotate-coverage-action@v1\n  with:\n    json_path: \"diff_coverage.json\"\n```\n\n### Example of added annotations\n\n![image](https://github.com/user-attachments/assets/7de7ac76-f55d-46e5-ab11-b01538a2c673)\n\n# License\n\nThe scripts and documentation in this project are released under the [MIT License](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrew2a%2Fannotate-coverage-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrew2a%2Fannotate-coverage-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrew2a%2Fannotate-coverage-action/lists"}