Name | pytest-codecov JSON |
Version |
0.6.0
JSON |
| download |
home_page | None |
Summary | Pytest plugin for uploading pytest-cov results to codecov.io |
upload_time | 2024-08-21 08:54:24 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | The MIT License (MIT) Copyright (c) 2021 David Salvisberg Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
==============
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": null,
"name": "pytest-codecov",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "David Salvisberg <david.salvisberg@seantis.ch>",
"keywords": null,
"author": null,
"author_email": "David Salvisberg <david.salvisberg@seantis.ch>",
"download_url": "https://files.pythonhosted.org/packages/42/7a/5b35044ca4fea1177f0727730fa33c9eb421212edde141bfea11fe228d78/pytest_codecov-0.6.0.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": " The MIT License (MIT) Copyright (c) 2021 David Salvisberg Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
"summary": "Pytest plugin for uploading pytest-cov results to codecov.io",
"version": "0.6.0",
"project_urls": {
"Repository": "https://github.com/seantis/pytest-codecov"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c219c4db8781deadde0555e157cc76237bc09a04e6e4775fd097af6ccb3c9891",
"md5": "92c40dad51a9ae3146d2419e8959110f",
"sha256": "7293121eaf163d03f029cb4ca49a77340495824d4cd300ca16fb85ececc73572"
},
"downloads": -1,
"filename": "pytest_codecov-0.6.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "92c40dad51a9ae3146d2419e8959110f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 7965,
"upload_time": "2024-08-21T08:54:22",
"upload_time_iso_8601": "2024-08-21T08:54:22.305925Z",
"url": "https://files.pythonhosted.org/packages/c2/19/c4db8781deadde0555e157cc76237bc09a04e6e4775fd097af6ccb3c9891/pytest_codecov-0.6.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "427a5b35044ca4fea1177f0727730fa33c9eb421212edde141bfea11fe228d78",
"md5": "e49b4d0a5cf09fef10285beb28459a47",
"sha256": "7413df47c9e628ed38f36581d02e9f631ceddfccff59d494f93051cfb82d59e2"
},
"downloads": -1,
"filename": "pytest_codecov-0.6.0.tar.gz",
"has_sig": false,
"md5_digest": "e49b4d0a5cf09fef10285beb28459a47",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 10531,
"upload_time": "2024-08-21T08:54:24",
"upload_time_iso_8601": "2024-08-21T08:54:24.144833Z",
"url": "https://files.pythonhosted.org/packages/42/7a/5b35044ca4fea1177f0727730fa33c9eb421212edde141bfea11fe228d78/pytest_codecov-0.6.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-21 08:54:24",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "seantis",
"github_project": "pytest-codecov",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pytest-codecov"
}