diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index eaa0181..e4a5b8c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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