Files
resimulate/.gitea/scripts/setup-poetry.sh
Niklas Bittner ce9e983ff9
Some checks failed
Build Python Package / build (push) Failing after 24s
ci: cache poetry dependencies
2025-02-04 01:59:00 +01:00

18 lines
277 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
poetry check
poetry lock --check
# Install dependencies
poetry install --no-root --no-interaction