fix poetry install in ubuntu 24.04
All checks were successful
Python Linters / pylint (push) Successful in 40s
Python Linters / formatting (push) Successful in 37s
Python Linters / mypy (push) Successful in 37s
REUSE Compliance / reuse (push) Successful in 9s
Selftests / test-build-install (push) Successful in 40s
Selftests / test-sync (push) Successful in 1m4s

This commit is contained in:
2025-01-12 12:23:58 +01:00
parent a613879338
commit 6ed3e30f56
2 changed files with 7 additions and 3 deletions

View File

@@ -12,8 +12,10 @@ inputs:
runs: runs:
using: "composite" using: "composite"
steps: steps:
- name: Add pipx to PATH
run: echo "/root/.local/bin" >> ${GITHUB_PATH}
- name: Install poetry - name: Install poetry
run: pip install poetry run: pipx install poetry
- name: Install poetry package - name: Install poetry package
run: poetry install --no-interaction ${{ inputs.poetry_install_args }} run: poetry install --no-interaction ${{ inputs.poetry_install_args }}
shell: bash shell: bash

View File

@@ -14,11 +14,13 @@ on:
jobs: jobs:
# Test building the package and installing it via pip3 # Test building the package and installing it via pip3
test-build-install: test-build-install:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Add pipx to PATH
run: echo "/root/.local/bin" >> ${GITHUB_PATH}
- name: Install poetry - name: Install poetry
run: pip install poetry run: pipx install poetry
- name: Build package - name: Build package
run: poetry build run: poetry build
- name: Install package - name: Install package