We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f45ed2 commit ed3b512Copy full SHA for ed3b512
.github/workflows/tests.yml
@@ -73,6 +73,13 @@ jobs:
73
echo "Directory contents:"
74
ls -la
75
76
+ # Check if poetry.lock exists, generate it if not
77
+ if [ ! -f poetry.lock ]; then
78
+ echo "\n=== No poetry.lock found, generating lock file ==="
79
+ python -m poetry lock --no-update || \
80
+ { echo "Failed to generate poetry.lock"; exit 1; }
81
+ fi
82
+
83
echo "\n=== Running poetry install ==="
84
python -m poetry install --with dev,test --no-interaction --no-ansi -v || \
85
{ echo "poetry install failed"; exit 1; }
0 commit comments