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
commit 896998ef3f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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