This repository has been archived on 2025-04-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
home-stream/.github/actions/poetrybuild/action.yaml
Max Mehl b07562f3fd
Some checks failed
Test suites / test-build-install (pull_request) Has been cancelled
Test suites / pylint (pull_request) Has been cancelled
Test suites / formatting (pull_request) Has been cancelled
Test suites / mypy (pull_request) Has been cancelled
Test suites / test-os-python-matrix (ubuntu-22.04, 3.13) (pull_request) Has been cancelled
Test suites / reuse (pull_request) Has been cancelled
Test suites / test-os-python-matrix (ubuntu-22.04, 3.11) (pull_request) Has been cancelled
Test suites / test-os-python-matrix (ubuntu-22.04, 3.10) (pull_request) Has been cancelled
Test suites / test-os-python-matrix (ubuntu-22.04, 3.12) (pull_request) Has been cancelled
check other path way
2025-04-01 22:55:49 +02:00

33 lines
841 B
YAML

# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0
name: "Reusable Poetry build workflow"
inputs:
python:
default: "3.10"
description: "Value for 'python-version'"
required: false
type: string
poetry_args:
default: ""
description: "Additional arguments for the poetry install step'"
required: false
type: string
runs:
using: "composite"
steps:
- name: Add pipx to PATH
run: echo "/root/.local/bin" >> ${GITHUB_PATH}
- name: Install poetry
run: pipx install poetry
shell: bash
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python }}
cache: "poetry"
- name: Install dependencies
run: poetry install --no-interaction ${{ inputs.poetry_args }}
shell: bash