mirror of
https://github.com/serengil/deepface.git
synced 2025-06-04 02:20:06 +00:00
add test coverage support
This commit is contained in:
parent
35025cdf6e
commit
5f27fa7004
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
|
Loading…
x
Reference in New Issue
Block a user