Files
resimulate/.gitea/scripts/setup-poetry.sh
Niklas Bittner fe33210cde
Some checks failed
Build Python Package / build (push) Failing after 29s
ci: add gitea build and publish actions
2025-02-04 01:28:00 +01:00

21 lines
336 B
Bash
Executable File

#!/bin/bash
set -e
echo "Setting up Python and Poetry..."
# Install Poetry
pip install pipx
pipx install poetry
# Add Poetry to PATH
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
# Configure Poetry
poetry config virtualenvs.create false
poetry check
poetry lock --check
# Install dependencies
poetry install --no-root --no-interaction