diff --git a/Pipfile b/Pipfile index d3f905c..a82d718 100644 --- a/Pipfile +++ b/Pipfile @@ -8,6 +8,8 @@ coverage = "*" sphinx = "*" sphinx_rtd_theme = "*" pytest = "*" +pytest-cov = "*" +codecov = "*" [packages] requests = "*" diff --git a/Pipfile.lock b/Pipfile.lock index 92f5dd5..7f56072 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "637610a5e819a95a76cb45448e33a94444d41e626b9b4343de0ce340c7da5088" + "sha256": "c889ddb9cbefe66436c2a82bf83cac14e9a8f1a85ad8b2e9d0d8aa891f33a5fc" }, "pipfile-spec": 6, "requires": { @@ -96,6 +96,14 @@ ], "version": "==3.0.4" }, + "codecov": { + "hashes": [ + "sha256:8ed8b7c6791010d359baed66f84f061bba5bd41174bf324c31311e8737602788", + "sha256:ae00d68e18d8a20e9c3288ba3875ae03db3a8e892115bf9b83ef20507732bed4" + ], + "index": "pypi", + "version": "==2.0.15" + }, "coverage": { "hashes": [ "sha256:08907593569fe59baca0bf152c43f3863201efb6113ecb38ce7e97ce339805a6", @@ -254,6 +262,14 @@ "index": "pypi", "version": "==5.2.2" }, + "pytest-cov": { + "hashes": [ + "sha256:cc6742d8bac45070217169f5f72ceee1e0e55b0221f54bcf24845972d3a47f2b", + "sha256:cdbdef4f870408ebdbfeb44e63e07eb18bb4619fae852f6e760645fa36172626" + ], + "index": "pypi", + "version": "==2.8.1" + }, "pytz": { "hashes": [ "sha256:1c557d7d0e871de1f5ccd5833f60fb2550652da6be2693c1e02300743d21500d", diff --git a/README.rst b/README.rst index d9bc5f7..447ca2e 100644 --- a/README.rst +++ b/README.rst @@ -11,9 +11,13 @@ :target: https://pypi.org/project/yandex-music/ :alt: Поддерживаемые Python версии +.. image:: https://codecov.io/gh/MarshalX/yandex-music-api/branch/development/graph/badge.svg + :target: https://codecov.io/gh/MarshalX/yandex-music-api + :alt: Покрытие кода тестами + .. image:: https://readthedocs.org/projects/yandex-music/badge/?version=latest - :target: https://yandex-music.readthedocs.io/ru/latest/?badge=latest - :alt: Статус документации + :target: https://yandex-music.readthedocs.io/ru/latest/?badge=latest + :alt: Статус документации .. image:: https://img.shields.io/badge/license-LGPLv3-lightgrey.svg :target: https://www.gnu.org/licenses/lgpl-3.0.html diff --git a/requirements-dev.txt b/requirements-dev.txt index a3469ef..7324967 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,3 +1,4 @@ requests -coverage -pytest \ No newline at end of file +pytest +codecov +pytest-cov \ No newline at end of file