From 6228e1062e2584ad57b2666e918ab3f00921544a Mon Sep 17 00:00:00 2001 From: Xyphuz Date: Sun, 8 May 2022 22:33:43 +0800 Subject: [PATCH] fix: avoid installing unnecessary root module by adding --no-root --- .github/workflows/ci.yml | 8 +++++--- .github/workflows/release-tagged-version.yml | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ba2b8b..5d0ae78 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,9 +91,11 @@ jobs: uses: Gr1N/setup-poetry@v7 with: poetry-version: 1.1.7 - - run: | - poetry install + + - name: Install Dependencies + run: | + poetry install --no-root - name: Validate Custom Input File run: | - poetry run python -m pytest + pytest diff --git a/.github/workflows/release-tagged-version.yml b/.github/workflows/release-tagged-version.yml index 21e7dde..9635433 100644 --- a/.github/workflows/release-tagged-version.yml +++ b/.github/workflows/release-tagged-version.yml @@ -27,7 +27,7 @@ jobs: with: poetry-version: 1.1.7 - run: | - poetry install + poetry install --no-root poetry build - name: "Release Tagged Version"