ci: add gitea build and publish actions
Some checks failed
Build Python Package / build (push) Failing after 29s
Some checks failed
Build Python Package / build (push) Failing after 29s
This commit is contained in:
21
.gitea/scripts/setup-poetry.sh
Executable file
21
.gitea/scripts/setup-poetry.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user