From 31e48bbb03e7d0bb1992d9fc0239744f7f724c42 Mon Sep 17 00:00:00 2001 From: Max Mehl Date: Tue, 16 Jan 2024 16:22:07 +0100 Subject: [PATCH] test additional poetry install args --- .gitea/actions/poetrybuild/action.yaml | 8 +++++++- .gitea/workflows/test.yaml | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitea/actions/poetrybuild/action.yaml b/.gitea/actions/poetrybuild/action.yaml index e21cd60..b57f5a8 100644 --- a/.gitea/actions/poetrybuild/action.yaml +++ b/.gitea/actions/poetrybuild/action.yaml @@ -3,11 +3,17 @@ # 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 dependencies run: | pip install poetry - poetry install --no-interaction + poetry install --no-interaction ${{ inputs.poetry_install_args }} shell: bash diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 285a7d8..77aa1f0 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -35,6 +35,8 @@ jobs: - uses: actions/checkout@v4 - name: Install dependencies uses: ./.gitea/actions/poetrybuild + with: + poetry_install_args: "--without dev" - name: Install seaf-cli run: | apt-get update