chore: refine python dependency list and check dependencies in order (#9061)
This commit is contained in:
parent
4abca8614f
commit
896998ef3f
2 changed files with 112 additions and 36 deletions
4
dev/pytest/pytest_artifacts.sh
Executable file
4
dev/pytest/pytest_artifacts.sh
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
set -x
|
||||
|
||||
pytest api/tests/artifact_tests/
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue