From 809b5218dfa886c86e71527c848c63d8b7bb5bb7 Mon Sep 17 00:00:00 2001 From: franktore Date: Fri, 5 Dec 2025 14:15:50 +0100 Subject: [PATCH 1/2] merge steps to avoid missing dependencies --- .github/workflows/deploy.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cf9056c..4208ba3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -66,13 +66,10 @@ jobs: curl -sSL https://install.python-poetry.org | python3 - echo "$HOME/.local/bin" >> $GITHUB_PATH # Add Poetry to PATH - - name: Install dependencies + - name: Install dependencies and run tests run: | poetry install --without dev --no-interaction --no-root - - - name: Run tests - run: | - poetry run pytest # Use Poetry to run your tests + poetry run pytest build: needs: [detectenv, run-tests] @@ -94,13 +91,10 @@ jobs: curl -sSL https://install.python-poetry.org | python3 - echo "$HOME/.local/bin" >> $GITHUB_PATH # Add Poetry to PATH - - name: Install dependencies + - name: Install dependencies and Build SDK run: | poetry install --without dev,test --no-interaction --no-root # Install only main dependencies - - - name: Build SDK - run: | - poetry build # Use Poetry to build the project + poetry build - name: Release uses: ncipollo/release-action@v1 From bf9a8c0455379c3c4ca479a6eac2a08a92ea579e Mon Sep 17 00:00:00 2001 From: franktore Date: Fri, 5 Dec 2025 14:31:25 +0100 Subject: [PATCH 2/2] remove --no-root flag from install --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4208ba3..622a802 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -68,7 +68,7 @@ jobs: - name: Install dependencies and run tests run: | - poetry install --without dev --no-interaction --no-root + poetry install --without dev --no-interaction poetry run pytest build: