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 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