{"id":14985991,"url":"https://github.com/orgoro/coverage","last_synced_at":"2025-05-16T18:10:58.987Z","repository":{"id":37824020,"uuid":"413180117","full_name":"orgoro/coverage","owner":"orgoro","description":"GitHub Action for python coverage publish \u0026 analysis","archived":false,"fork":false,"pushed_at":"2025-04-15T15:51:22.000Z","size":693,"stargazers_count":121,"open_issues_count":15,"forks_count":38,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-06T18:09:04.398Z","etag":null,"topics":["action","coverage","github-actions","python","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/orgoro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-03T19:44:02.000Z","updated_at":"2025-04-15T15:51:26.000Z","dependencies_parsed_at":"2024-06-18T15:19:43.566Z","dependency_job_id":"06a4661b-c84e-4c8a-8915-915f6c150d27","html_url":"https://github.com/orgoro/coverage","commit_stats":{"total_commits":75,"total_committers":14,"mean_commits":5.357142857142857,"dds":0.5466666666666666,"last_synced_commit":"3f13a558c5af7376496aa4848bf0224aead366ac"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orgoro%2Fcoverage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orgoro%2Fcoverage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orgoro%2Fcoverage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orgoro%2Fcoverage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orgoro","download_url":"https://codeload.github.com/orgoro/coverage/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254582907,"owners_count":22095518,"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":["action","coverage","github-actions","python","typescript"],"created_at":"2024-09-24T14:12:06.043Z","updated_at":"2025-05-16T18:10:58.982Z","avatar_url":"https://github.com/orgoro.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Coverage: The Esential Coverage Reporter GitHub Action for python\n\n\u003e ☂️ parse and publish coverage xml to a PR, enforce coverage rate on new \u0026 modified files\n\n## Usage\n\nCreate a new workflow `.yml` file in the `.github/workflows/` directory.\n\nYou can create a coverage report using python:\n - pytest `$ pytest --cov-report xml:path/to/coverage.xml`\n - coverage `$ coverage xml path/to/coverage.xml`\n\n### Minimal Configuration\n```yml\nname: 'coverage'\non:\n    pull_request:\n        branches:\n            - master\n            - main\njobs:\n    coverage:\n        runs-on: ubuntu-latest\n        steps:\n          - name: Get Cover \n            uses: orgoro/coverage@v3.2\n            with:\n                coverageFile: path/to/coverage.xml\n                token: ${{ secrets.GITHUB_TOKEN }}\n```\n## PR Message \u0026 Job Summary 🆕\n\n![message](./images/pr-message.png)\n\n## Inputs\n\n| Input               | Optional  | Description                                      | Example                |\n|---------------------|-----------|--------------------------------------------------|------------------------|\n| `coverageFile`      |           | path to .xml coverage report                     | ./path/to/coverage.xml |\n| `token`             |           | your github token                                | 🤫                     |\n| `thresholdAll`      | ✅        | the minimal average line coverage                | 0.8                    |\n| `thresholdNew`      | ✅        | the minimal average new files line coverage      | 0.9                    |\n| `thresholdModified` | ✅        | the minimal average modified files line coverage | 0.0                    |\n| `passIcon`          | ✅        | the indicator to use for files that passed       | 🟢                      |\n| `failIcon`          | ✅        | the indicator to use for files that failed       | 🔴                      |\n| `sourceDir`         | ✅        | the directory to use as the source of the coverage report       | ./path/to/src          |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forgoro%2Fcoverage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forgoro%2Fcoverage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forgoro%2Fcoverage/lists"}