Format-The-Codebase

- move formatting checkers after tests
This commit is contained in:
Ömer Faruk Özdemir 2022-02-09 11:08:01 +03:00
parent b9e5950bce
commit 3c163f58c4

View File

@ -37,17 +37,16 @@ jobs:
- run:
command: |
mkdir screenshots
- run:
command: |
python -m black --check gradio test
python -m isort --check-only gradio test
python -m flake8 --max-line-length=160 gradio test
- run:
command: |
. venv/bin/activate
coverage run -m pytest
coverage xml
- run:
command: |
python -m black --check gradio test
python -m isort --check-only gradio test
python -m flake8 --max-line-length=160 gradio test
- codecov/upload:
file: 'coverage.xml'
- store_artifacts: