diff --git a/.gitignore b/.gitignore index 63ebe2c..eaa42ce 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,5 @@ tests/dataset/*.pkl tests/*.ipynb tests/*.csv *.pyc +**/.coverage +**/.coverage.* \ No newline at end of file diff --git a/Makefile b/Makefile index af58c7f..cb8e9ae 100644 --- a/Makefile +++ b/Makefile @@ -2,4 +2,7 @@ test: cd tests && python -m pytest . -s --disable-warnings lint: - python -m pylint deepface/ --fail-under=10 \ No newline at end of file + python -m pylint deepface/ --fail-under=10 + +coverage: + pip install pytest-cov && cd tests && python -m pytest --cov=deepface \ No newline at end of file