chore: refine python dependency list and check dependencies in order (#9061)

This commit is contained in:
Bowen Liang
2024-10-08 15:11:45 +08:00
committed by GitHub
parent 4abca8614f
commit 896998ef3f
7 changed files with 114 additions and 38 deletions

View File

@@ -39,7 +39,7 @@ jobs:
api/pyproject.toml
api/poetry.lock
- name: Poetry check
- name: Check Poetry lockfile
run: |
poetry check -C api --lock
poetry show -C api
@@ -47,6 +47,9 @@ jobs:
- name: Install dependencies
run: poetry install -C api --with dev
- name: Check dependencies in pyproject.toml
run: poetry run -C api bash dev/pytest/pytest_artifacts.sh
- name: Run Unit tests
run: poetry run -C api bash dev/pytest/pytest_unit_tests.sh