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: - run:
command: | command: |
mkdir screenshots 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: - run:
command: | command: |
. venv/bin/activate . venv/bin/activate
coverage run -m pytest coverage run -m pytest
coverage xml 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: - codecov/upload:
file: 'coverage.xml' file: 'coverage.xml'
- store_artifacts: - store_artifacts: