ci: switch to install poetry action
Some checks failed
Build Python Package / build (push) Failing after 34s

This commit is contained in:
2025-02-04 02:11:31 +01:00
parent 968afff225
commit acfe410a69
3 changed files with 10 additions and 25 deletions

View File

@@ -1,21 +0,0 @@
#!/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

View File

@@ -20,8 +20,11 @@ jobs:
python-version: "3.13.1"
cache: "pip"
- name: Run setup script
run: .gitea/scripts/setup-poetry.sh
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: false
installer-parallel: true
- name: Check code formatting by black
run: |

View File

@@ -19,8 +19,11 @@ jobs:
python-version: "3.13.1"
cache: "pip"
- name: Run setup script
run: .gitea/scripts/setup-poetry.sh
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: false
installer-parallel: true
- name: Build package
run: poetry build