mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-01-19 13:23:23 +08:00
check if isort working
This commit is contained in:
parent
c7848cc8ec
commit
c8e8088422
8
.github/workflows/develop.yml
vendored
8
.github/workflows/develop.yml
vendored
@ -122,14 +122,14 @@ jobs:
|
||||
# sudo apt-get update
|
||||
# sudo apt-get install -y python3.11 python3.11-distutils
|
||||
# pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple pipenv && cd ./app/backend/ && pipenv install && pipenv run python -m pytest --disable-warnings
|
||||
- name: Pytest
|
||||
run: docker exec backend-backend pipenv run python -m pytest -v
|
||||
# - name: Pytest
|
||||
# run: docker exec backend-backend pipenv run python -m pytest -v
|
||||
# - name: Flake8
|
||||
# run: docker exec backend-backend pipenv run python -m flake8 .
|
||||
# - name: Black
|
||||
# run: docker exec backend-backend pipenv run python -m black . --check
|
||||
# - name: isort
|
||||
# run: docker exec backend-backend pipenv run python -m isort . --check-only
|
||||
- name: isort
|
||||
run: docker exec backend-backend pipenv run python -m isort . --check-only
|
||||
- name: Cleanup container at end of job
|
||||
if: always()
|
||||
run: docker stop backend-backend || true && docker rm backend-backend || true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user