mirror of
https://github.com/serengil/deepface.git
synced 2025-01-06 21:02:38 +03:00
add test coverage support
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -11,3 +11,5 @@ tests/dataset/*.pkl
|
|||||||
tests/*.ipynb
|
tests/*.ipynb
|
||||||
tests/*.csv
|
tests/*.csv
|
||||||
*.pyc
|
*.pyc
|
||||||
|
**/.coverage
|
||||||
|
**/.coverage.*
|
||||||
5
Makefile
5
Makefile
@@ -2,4 +2,7 @@ test:
|
|||||||
cd tests && python -m pytest . -s --disable-warnings
|
cd tests && python -m pytest . -s --disable-warnings
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
python -m pylint deepface/ --fail-under=10
|
python -m pylint deepface/ --fail-under=10
|
||||||
|
|
||||||
|
coverage:
|
||||||
|
pip install pytest-cov && cd tests && python -m pytest --cov=deepface
|
||||||
Reference in New Issue
Block a user