chore: refine python dependency list and check dependencies in order (#9061)
This commit is contained in:
parent
4abca8614f
commit
896998ef3f
7 changed files with 114 additions and 38 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…
Add table
Add a link
Reference in a new issue