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

4
dev/pytest/pytest_artifacts.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
set -x
pytest api/tests/artifact_tests/

View File

@@ -11,5 +11,8 @@ poetry check -C api --lock
if [ $? -ne 0 ]; then
# update poetry.lock
# refreshing lockfile only without updating locked versions
echo "poetry.lock is outdated, refreshing without updating locked versions ..."
poetry lock -C api --no-update
else
echo "poetry.lock is ready."
fi