mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-30 11:00:11 +08:00
Format-The-Codebase
- move formatting checkers after tests
This commit is contained in:
parent
b9e5950bce
commit
3c163f58c4
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user