File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,15 +37,23 @@ jobs:
3737
3838 - name : Install dependencies
3939 run : |
40- # Generate lock file if it doesn't exist
40+ # Check for lock file and generate if needed
4141 if [ ! -f poetry.lock ]; then
4242 echo "No poetry.lock found, generating one..."
43+ # First install without lock file to resolve dependencies
44+ poetry install --no-dev --no-interaction --no-ansi -v --no-root
45+ # Then generate the lock file
4346 poetry lock --no-update
4447 fi
4548
46- # Install dependencies
49+ # Install dependencies with the lock file
50+ echo "Installing dependencies..."
4751 poetry install --no-dev --no-interaction --no-ansi -v
52+
53+ # Show environment info for debugging
4854 poetry env info
55+ echo "Installed packages:"
56+ poetry show --tree
4957
5058 - name : Build and publish
5159 env :
You can’t perform that action at this time.
0 commit comments