Skip to content

Commit ed3b512

Browse files
author
Tom Softreck
committed
update
1 parent 3f45ed2 commit ed3b512

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ jobs:
7373
echo "Directory contents:"
7474
ls -la
7575
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+
7683
echo "\n=== Running poetry install ==="
7784
python -m poetry install --with dev,test --no-interaction --no-ansi -v || \
7885
{ echo "poetry install failed"; exit 1; }

0 commit comments

Comments
 (0)