This commit is contained in:
Sefik Ilkin Serengil 2023-01-29 01:05:10 +00:00 committed by GitHub
parent 36cb949fcc
commit 02a95dffdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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