From 6c8fae691fa8197f3de58665bd9338885fb11b83 Mon Sep 17 00:00:00 2001 From: Claas Date: Thu, 23 Nov 2023 15:02:59 +0100 Subject: [PATCH] _code_quality.yml: Added --no-root to poetry install to avoid that petry installs also the project itself --- .github/workflows/_code_quality.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_code_quality.yml b/.github/workflows/_code_quality.yml index 3a639e0..d4f8106 100644 --- a/.github/workflows/_code_quality.yml +++ b/.github/workflows/_code_quality.yml @@ -25,7 +25,9 @@ jobs: python-version: '3.11' cache: 'pip' # cache pip dependencies - name: Install dependencies - run: pip install -r requirements.txt + run: | + pip install poetry + poetry install --no-root - name: Install ruff run: pip install ruff==0.1.6 - name: Run ruff @@ -43,7 +45,7 @@ jobs: - name: Install dependencies run: | pip install poetry - poetry install + poetry install --no-root pip install pytest - name: Install pyright run: pip install pyright==1.1.336