From fc52bef77ff4e5b439f52f78a6612a6580209d09 Mon Sep 17 00:00:00 2001 From: ChrisW09 Date: Wed, 12 Nov 2025 10:20:43 +0100 Subject: [PATCH] Fix GitHub Actions workflow: simplify package installation - Remove redundant pip install and package building steps - Poetry install already installs the package in editable mode - This fixes conflicts between Poetry and pip installations --- .github/workflows/pr-tests.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml index ba39542..825ebf1 100644 --- a/.github/workflows/pr-tests.yml +++ b/.github/workflows/pr-tests.yml @@ -34,21 +34,10 @@ jobs: cache: 'poetry' - name: Install Dependencies - run: | - python -m pip install --upgrade pip - poetry install - pip install pytest - - - name: Install Package Locally - run: | - poetry build - pip install dist/*.whl # Install the built package to fix "No module named 'deeptabular'" + run: poetry install - name: Run Unit Tests - env: - PYTHONPATH: ${{ github.workspace }} # Ensure the package is discoverable - run: poetry run pytest tests/ - shell: bash + run: poetry run pytest tests/ -v - name: Verify Tests Passed if: ${{ success() }}