Some checks failed
Python Linters / pylint (push) Failing after 48s
Python Linters / formatting (push) Failing after 48s
REUSE Compliance / reuse (push) Successful in 17s
Selftests / test-build-install (push) Failing after 12s
Selftests / test-sync (push) Has been cancelled
Python Linters / mypy (push) Has been cancelled
22 lines
548 B
YAML
22 lines
548 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: Install poetry
|
|
run: pipx install poetry
|
|
- name: Set PATH
|
|
run: export PATH="$PATH:~/.local/bin"
|
|
- name: Install poetry package
|
|
run: poetry install --no-interaction ${{ inputs.poetry_install_args }}
|
|
shell: bash
|