==============
pytest-codecov
==============
.. image:: https://img.shields.io/pypi/v/pytest-codecov.svg
:target: https://pypi.org/project/pytest-codecov
:alt: PyPI version
.. image:: https://img.shields.io/pypi/pyversions/pytest-codecov.svg
:target: https://pypi.org/project/pytest-codecov
:alt: Python versions
.. image:: https://github.com/seantis/pytest-codecov/actions/workflows/python-tox.yaml/badge.svg
:target: https://github.com/seantis/pytest-codecov/actions
:alt: Tests
.. image:: https://codecov.io/gh/seantis/pytest-codecov/branch/master/graph/badge.svg?token=CwujQmq61X
:target: https://codecov.io/gh/seantis/pytest-codecov
:alt: Codecov.io
Pytest plugin for uploading `pytest-cov`_ results to `codecov.io`_
----
This `pytest`_ plugin was generated with `Cookiecutter`_ along with `@hackebrot`_'s `cookiecutter-pytest-plugin`_ template.
Features
--------
* Uploads coverage results to `codecov.io` at the end of the tests.
* Detects current project slug, branch and commit using `GitPython`, when installed and running inside a git repository.
Requirements
------------
* `pytest-cov`_
* `requests`_
* `GitPython`_ (Optional, for auto detecting some meta data)
Installation
------------
You can install "pytest-codecov" via `pip`_ from `PyPI`_::
$ pip install pytest-codecov
Usage
-----
* Add :code:`--codecov` to pytest arguments to enable upload
* Supply your Codecov token either through :code:`--codecov-token=` or `CODECOV_TOKEN` environment variable. Refer to your CI's documentation to properly secure that token.
Contributing
------------
Contributions are very welcome. Tests can be run with `tox`_, please ensure
the coverage at least stays the same before you submit a pull request.
License
-------
Distributed under the terms of the `MIT`_ license, "pytest-codecov" is free and open source software
Issues
------
If you encounter any problems, please `file an issue`_ along with a detailed description.
.. _`Cookiecutter`: https://github.com/audreyr/cookiecutter
.. _`@hackebrot`: https://github.com/hackebrot
.. _`MIT`: http://opensource.org/licenses/MIT
.. _`cookiecutter-pytest-plugin`: https://github.com/pytest-dev/cookiecutter-pytest-plugin
.. _`file an issue`: https://github.com/seantis/pytest-codecov/issues
.. _`pytest`: https://github.com/pytest-dev/pytest
.. _`tox`: https://tox.readthedocs.io/en/latest/
.. _`pip`: https://pypi.org/project/pip/
.. _`PyPI`: https://pypi.org/project
.. _`pytest-cov`: https://github.com/pytest-dev/pytest-cov
.. _`codecov.io`: https://codecov.io
.. _`requests`: https://github.com/psf/requests
.. _`GitPython`: https://github.com/gitpython-developers/GitPython
Raw data
{
"_id": null,
"home_page": "https://github.com/seantis/pytest-codecov",
"name": "pytest-codecov",
"maintainer": "David Salvisberg",
"docs_url": null,
"requires_python": ">=3.5",
"maintainer_email": "david.salvisberg@seantis.ch",
"keywords": "",
"author": "David Salvisberg",
"author_email": "david.salvisberg@seantis.ch",
"download_url": "https://files.pythonhosted.org/packages/6b/97/8b9165f99b2ce8206f2238c45dfc221c3af8c0ea69791419ee8d63dffe49/pytest-codecov-0.5.1.tar.gz",
"platform": null,
"description": "==============\npytest-codecov\n==============\n\n.. image:: https://img.shields.io/pypi/v/pytest-codecov.svg\n :target: https://pypi.org/project/pytest-codecov\n :alt: PyPI version\n\n.. image:: https://img.shields.io/pypi/pyversions/pytest-codecov.svg\n :target: https://pypi.org/project/pytest-codecov\n :alt: Python versions\n\n.. image:: https://github.com/seantis/pytest-codecov/actions/workflows/python-tox.yaml/badge.svg\n :target: https://github.com/seantis/pytest-codecov/actions\n :alt: Tests\n\n.. image:: https://codecov.io/gh/seantis/pytest-codecov/branch/master/graph/badge.svg?token=CwujQmq61X\n :target: https://codecov.io/gh/seantis/pytest-codecov\n :alt: Codecov.io\n\nPytest plugin for uploading `pytest-cov`_ results to `codecov.io`_\n\n----\n\nThis `pytest`_ plugin was generated with `Cookiecutter`_ along with `@hackebrot`_'s `cookiecutter-pytest-plugin`_ template.\n\n\nFeatures\n--------\n\n* Uploads coverage results to `codecov.io` at the end of the tests.\n* Detects current project slug, branch and commit using `GitPython`, when installed and running inside a git repository.\n\n\nRequirements\n------------\n\n* `pytest-cov`_\n* `requests`_\n* `GitPython`_ (Optional, for auto detecting some meta data)\n\n\nInstallation\n------------\n\nYou can install \"pytest-codecov\" via `pip`_ from `PyPI`_::\n\n $ pip install pytest-codecov\n\n\nUsage\n-----\n\n* Add :code:`--codecov` to pytest arguments to enable upload\n* Supply your Codecov token either through :code:`--codecov-token=` or `CODECOV_TOKEN` environment variable. Refer to your CI's documentation to properly secure that token.\n\n\nContributing\n------------\nContributions are very welcome. Tests can be run with `tox`_, please ensure\nthe coverage at least stays the same before you submit a pull request.\n\n\nLicense\n-------\n\nDistributed under the terms of the `MIT`_ license, \"pytest-codecov\" is free and open source software\n\n\nIssues\n------\n\nIf you encounter any problems, please `file an issue`_ along with a detailed description.\n\n.. _`Cookiecutter`: https://github.com/audreyr/cookiecutter\n.. _`@hackebrot`: https://github.com/hackebrot\n.. _`MIT`: http://opensource.org/licenses/MIT\n.. _`cookiecutter-pytest-plugin`: https://github.com/pytest-dev/cookiecutter-pytest-plugin\n.. _`file an issue`: https://github.com/seantis/pytest-codecov/issues\n.. _`pytest`: https://github.com/pytest-dev/pytest\n.. _`tox`: https://tox.readthedocs.io/en/latest/\n.. _`pip`: https://pypi.org/project/pip/\n.. _`PyPI`: https://pypi.org/project\n.. _`pytest-cov`: https://github.com/pytest-dev/pytest-cov\n.. _`codecov.io`: https://codecov.io\n.. _`requests`: https://github.com/psf/requests\n.. _`GitPython`: https://github.com/gitpython-developers/GitPython\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Pytest plugin for uploading pytest-cov results to codecov.io",
"version": "0.5.1",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "9d1c0bb507b28f5004461095d94c2835",
"sha256": "a50aaf5d2f5e157b02b83e3630ca61b5684e6b620f29ffa84c994db78252967d"
},
"downloads": -1,
"filename": "pytest_codecov-0.5.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9d1c0bb507b28f5004461095d94c2835",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.5",
"size": 7252,
"upload_time": "2022-11-29T13:21:45",
"upload_time_iso_8601": "2022-11-29T13:21:45.384917Z",
"url": "https://files.pythonhosted.org/packages/bd/62/5f0a6d9f0e98c97e4312ccee1d91e22d44b550127fe58747a2614b717926/pytest_codecov-0.5.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "0e15212bca95d375f52b56e469980346",
"sha256": "6850bec3bd5313b574f0710b75527652297b90ae316229b44f6446b896f74140"
},
"downloads": -1,
"filename": "pytest-codecov-0.5.1.tar.gz",
"has_sig": false,
"md5_digest": "0e15212bca95d375f52b56e469980346",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.5",
"size": 6828,
"upload_time": "2022-11-29T13:21:46",
"upload_time_iso_8601": "2022-11-29T13:21:46.855342Z",
"url": "https://files.pythonhosted.org/packages/6b/97/8b9165f99b2ce8206f2238c45dfc221c3af8c0ea69791419ee8d63dffe49/pytest-codecov-0.5.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-11-29 13:21:46",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "seantis",
"github_project": "pytest-codecov",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"tox": true,
"lcname": "pytest-codecov"
}