Skip to content

Commit c900a95

Browse files
committed
Fix backend test failures: set PYTHONPATH and ensure pytest-asyncio installed
1 parent 407f7da commit c900a95

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ jobs:
6565
working-directory: backend
6666
run: pip install -e ".[dev]"
6767

68+
- name: Install pytest-asyncio
69+
working-directory: backend
70+
run: pip install pytest-asyncio>=0.21
71+
6872
- name: Lint backend (ruff)
6973
working-directory: backend
7074
run: ruff check .
@@ -75,6 +79,7 @@ jobs:
7579
DATABASE_URL: postgresql+asyncpg://aaip:aaip_test@localhost:5432/aaip_test
7680
OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
7781
AAIP_DEV_MODE: "true"
82+
PYTHONPATH: .
7883
run: pytest ../tests/backend/ -v --tb=short
7984

8085
# ─────────────────────────────────────────

0 commit comments

Comments
 (0)