mirror of
https://github.com/gradio-app/gradio.git
synced 2025-02-05 11:10:03 +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:
|
- 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:
|
||||||
|
Loading…
Reference in New Issue
Block a user