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
22 lines
565 B
YAML
22 lines
565 B
YAML
# SPDX-FileCopyrightText: 2023 DB Systel GmbH
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
name: "Reusable Poetry build workflow"
|
|
inputs:
|
|
poetry_install_args:
|
|
default: ""
|
|
description: "Value for additional poetry install arguments"
|
|
required: false
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Add pipx to PATH
|
|
run: echo "/root/.local/bin" >> ${GITHUB_PATH}
|
|
- name: Install poetry
|
|
run: pipx install poetry
|
|
- name: Install poetry package
|
|
run: poetry install --no-interaction ${{ inputs.poetry_install_args }}
|
|
shell: bash
|