From 1b97fe163bda0f0a679084cbf84a9268dd35eea4 Mon Sep 17 00:00:00 2001 From: Matthias Kestenholz Date: Sun, 19 Dec 2021 11:20:14 +0100 Subject: [PATCH 1/3] Remove the codecov badge, we're not using codecov anymore Refs #1542 --- README.rst | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.rst b/README.rst index 725bb4fe8..eb273b595 100644 --- a/README.rst +++ b/README.rst @@ -2,7 +2,7 @@ Django Debug Toolbar |latest-version| ===================================== -|jazzband| |build-status| |codecov| |docs| |python-support| |django-support| +|jazzband| |build-status| |docs| |python-support| |django-support| .. |latest-version| image:: https://img.shields.io/pypi/v/django-debug-toolbar.svg :target: https://pypi.python.org/pypi/django-debug-toolbar @@ -16,10 +16,6 @@ Django Debug Toolbar |latest-version| :target: https://github.com/jazzband/django-debug-toolbar/actions :alt: Build Status -.. |codecov| image:: https://codecov.io/gh/jazzband/django-debug-toolbar/branch/main/graph/badge.svg - :target: https://codecov.io/gh/jazzband/django-debug-toolbar - :alt: Test coverage status - .. |docs| image:: https://img.shields.io/readthedocs/django-debug-toolbar/latest.svg :target: https://readthedocs.org/projects/django-debug-toolbar/ :alt: Documentation status From a777904df1f8dadc18dd8460d3a7a00ba4ddc653 Mon Sep 17 00:00:00 2001 From: Tim Schilling Date: Sun, 19 Dec 2021 10:49:27 -0600 Subject: [PATCH 2/3] Specify code coverage as a static value. --- README.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index eb273b595..ee2a2c5a5 100644 --- a/README.rst +++ b/README.rst @@ -2,7 +2,7 @@ Django Debug Toolbar |latest-version| ===================================== -|jazzband| |build-status| |docs| |python-support| |django-support| +|jazzband| |build-status| |coverage| |docs| |python-support| |django-support| .. |latest-version| image:: https://img.shields.io/pypi/v/django-debug-toolbar.svg :target: https://pypi.python.org/pypi/django-debug-toolbar @@ -16,6 +16,10 @@ Django Debug Toolbar |latest-version| :target: https://github.com/jazzband/django-debug-toolbar/actions :alt: Build Status +.. |coverage| image:: https://img.shields.io/badge/Coverage-89%25-green + :target: https://github.com/jazzband/django-debug-toolbar/actions/workflows/test.yml?query=branch%3Amain + :alt: Test coverage status + .. |docs| image:: https://img.shields.io/readthedocs/django-debug-toolbar/latest.svg :target: https://readthedocs.org/projects/django-debug-toolbar/ :alt: Documentation status From 750d6ba9c537e2ed05f08f769806870f758227d7 Mon Sep 17 00:00:00 2001 From: Tim Schilling Date: Thu, 23 Dec 2021 09:44:12 -0600 Subject: [PATCH 3/3] Mention the badge link where the coverage % threshold is set. --- setup.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.cfg b/setup.cfg index c42e48692..70bccd0bf 100644 --- a/setup.cfg +++ b/setup.cfg @@ -60,6 +60,7 @@ source = .tox/*/site-packages [coverage:report] +# Update coverage badge link in README.rst when fail_under changes fail_under = 89 show_missing = True