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 .