From 730ef7b27854635c83d9d17b209aac85f301c52b Mon Sep 17 00:00:00 2001 From: Mimi Sav Date: Thu, 31 Oct 2024 08:35:14 +0100 Subject: [PATCH] Added poetry to shell --- .github/workflows/ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 37d4c49a..874d3b4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,16 +49,19 @@ jobs: working-directory: ./apps/data_handler run: | echo "PATH=$HOME/.local/bin:$PATH" >> $GITHUB_ENV + poetry shell poetry run pytest - - name: Install pytest for Shared + - name: Install dependencies for Shared working-directory: ./apps/shared run: | echo "PATH=$HOME/.local/bin:$PATH" >> $GITHUB_ENV - pip install pytest + poetry lock --no-update + poetry install - name: Run Tests for Shared working-directory: ./apps/shared run: | echo "PATH=$HOME/.local/bin:$PATH" >> $GITHUB_ENV - pytest . + poetry shell + poetry run pytest .