chore: refine python dependency list and check dependencies in order (#9061)
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user