Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 2 additions & 13 deletions .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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() }}
Expand Down