mirror of
https://github.com/serengil/deepface.git
synced 2025-06-05 19:15:23 +00:00
linting
This commit is contained in:
parent
36cb949fcc
commit
02a95dffdd
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
@ -4,6 +4,7 @@ on:
|
||||
push:
|
||||
paths:
|
||||
- '.github/workflows/tests.yml'
|
||||
- '.github/workflows/lint.yml'
|
||||
- 'deepface/**'
|
||||
- 'tests/**'
|
||||
- 'api/**'
|
||||
@ -13,6 +14,7 @@ on:
|
||||
pull_request:
|
||||
paths:
|
||||
- '.github/workflows/tests.yml'
|
||||
- '.github/workflows/lint.yml'
|
||||
- 'deepface/**'
|
||||
- 'tests/**'
|
||||
- 'api/**'
|
||||
@ -62,13 +64,9 @@ jobs:
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install pytest
|
||||
pip install pylint
|
||||
pip install black
|
||||
pip install .
|
||||
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
cd tests
|
||||
pytest unit_tests.py
|
||||
pylint --fail-under=10 ../deepface/
|
||||
|
||||
pytest unit_tests.py
|
||||
|
Loading…
x
Reference in New Issue
Block a user