diff --git a/.gitignore b/.gitignore index 42d76c1..3b1bcb6 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ cas/ dist/ db.sqlite3 manage.py +coverage.xml .tox test_venv diff --git a/Makefile b/Makefile index df1a6a6..6ada128 100644 --- a/Makefile +++ b/Makefile @@ -49,3 +49,8 @@ coverage: test_venv test_venv/bin/pip install coverage test_venv/bin/coverage run --source='cas_server' run_tests test_venv/bin/coverage html + test_venv/bin/coverage xml + +coverage_codacy: coverage + test_venv/bin/pip install codacy-coverage + test_venv/bin/python-codacy-coverage -r coverage.xml diff --git a/README.rst b/README.rst index f154049..85b2dc4 100644 --- a/README.rst +++ b/README.rst @@ -10,6 +10,12 @@ CAS Server .. image:: https://img.shields.io/pypi/l/django-cas-server.svg :target: https://www.gnu.org/licenses/gpl-3.0.html +.. image:: https://api.codacy.com/project/badge/Grade/255c21623d6946ef8802fa7995b61366 + :target: https://www.codacy.com/app/valentin-samir/django-cas-server + +.. image:: https://api.codacy.com/project/badge/Coverage/255c21623d6946ef8802fa7995b61366 + :target: https://www.codacy.com/app/valentin-samir/django-cas-server + CAS Server is a Django application implementing the `CAS Protocol 3.0 Specification `_.