{"id":13570477,"url":"https://github.com/AndreMiras/coveralls-python-action","last_synced_at":"2025-04-04T07:31:36.209Z","repository":{"id":50094491,"uuid":"254842620","full_name":"AndreMiras/coveralls-python-action","owner":"AndreMiras","description":"GitHub Action for Python Coveralls.io","archived":false,"fork":false,"pushed_at":"2024-09-26T09:21:06.000Z","size":51,"stargazers_count":48,"open_issues_count":7,"forks_count":19,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-03-29T05:45:26.409Z","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/AndreMiras.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":"2020-04-11T10:22:22.000Z","updated_at":"2024-09-26T09:21:10.000Z","dependencies_parsed_at":"2024-01-14T03:50:49.659Z","dependency_job_id":"338663da-871b-4f7a-acb3-517a6ecc63e5","html_url":"https://github.com/AndreMiras/coveralls-python-action","commit_stats":{"total_commits":53,"total_committers":7,"mean_commits":7.571428571428571,"dds":"0.16981132075471694","last_synced_commit":"65c1672f0b8a201702d86c81b79187df74072505"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreMiras%2Fcoveralls-python-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreMiras%2Fcoveralls-python-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreMiras%2Fcoveralls-python-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreMiras%2Fcoveralls-python-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndreMiras","download_url":"https://codeload.github.com/AndreMiras/coveralls-python-action/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247138705,"owners_count":20890091,"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":"2024-08-01T14:00:52.676Z","updated_at":"2025-04-04T07:31:35.862Z","avatar_url":"https://github.com/AndreMiras.png","language":"Python","readme":"# coveralls-python-action\n\n[![push](https://github.com/AndreMiras/coveralls-python-action/workflows/push/badge.svg?branch=develop)](https://github.com/AndreMiras/coveralls-python-action/actions?query=workflow%3Apush)\n[![Coverage Status](https://coveralls.io/repos/github/AndreMiras/coveralls-python-action/badge.svg?branch=develop)](https://coveralls.io/github/AndreMiras/coveralls-python-action?branch=develop)\n\nGitHub Action for Python [Coveralls.io](https://coveralls.io/)\n\n## Screenshot\n![coveralls-python-action](https://i.imgur.com/GMLdGT7.png \"Screenshot\")\n\n\n## Usage\nFirst make sure your `coverage.py` is configured with [`relative_files = True`](https://coverage.readthedocs.io/en/coverage-5.2.1/config.html#config-run-relative-files).\nSee the [Coverage.py configuration](#coveragepy-configuration) section for examples.\nIf this setting is missing you will likely get an error \"not a git repository\".\n\nThen assuming you have a `make test` that runs coverage testing.\nThe following workflow will upload it to coveralls.io.\n\n```yaml\nname: push\non: [push, pull_request]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n\n    - name: Unit tests\n      run: make test\n\n    - name: Coveralls\n      uses: AndreMiras/coveralls-python-action@develop\n      with:\n        parallel: true\n        flag-name: Unit Test\n\n  coveralls_finish:\n    needs: test\n    runs-on: ubuntu-latest\n    steps:\n    - name: Coveralls Finished\n      uses: AndreMiras/coveralls-python-action@develop\n      with:\n        parallel-finished: true\n```\n\n## Configuration\n```yaml\n- uses: AndreMiras/coveralls-python-action@develop\n  with:\n    # The `GITHUB_TOKEN` or `COVERALLS_REPO_TOKEN`.\n    # Default: ${{ github.token }}\n    github-token: ''\n    # Set to `true` if you are using parallel jobs, then use `parallel-finished: true` for the last action.\n    # Default: false\n    parallel: ''\n    # Set to `true` for the last action when using `parallel: true`.\n    # Default: false\n    parallel-finished: ''\n    # A name to identify the current job. This is useful in combination with `parallel: true`.\n    # Default: null\n    flag-name: ''\n    # A sub-directory in which coverage was executed.\n    # Default: '.'\n    base-path: ''\n    # Set to true to increase logger verbosity.\n    # Default: false\n    debug: ''\n```\n\n## Coverage.py configuration\n\nThe `relative_files = True` setting can be handled via different files such as `.coveragerc`, `tox.ini` and more, all covered in the examples below.\nAlso see the [Coverage.py configuration reference](https://coverage.readthedocs.io/en/coverage-5.2.1/config.html#configuration-reference) for full details.\n\n### .coveragerc\nUnder the `[run]` section:\n```ini\n[run]\nrelative_files = True\n```\n\n### setup.cfg or tox.ini\nUnder the `[coverage:run]` section:\n```ini\n[coverage:run]\nrelative_files = True\n```\n\n### pyproject.toml\nUnder the `[tool.coverage.run]` section.\nIt also requires `coverage` to be installed with the `toml` extra (`pip install coverage[toml]`):\n```ini\n[tool.coverage.run]\nrelative_files = true\n```\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAndreMiras%2Fcoveralls-python-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAndreMiras%2Fcoveralls-python-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAndreMiras%2Fcoveralls-python-action/lists"}