Skip to content

Commit 6fad216

Browse files
authored
Fix CI: set PYTHONPATH=. to resolve backend module imports in tests
1 parent acec326 commit 6fad216

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
pip install -r backend/requirements.txt
1818
pip install pytest pytest-cov httpx
1919
- name: Run backend tests
20+
env:
21+
PYTHONPATH: .
2022
run: |
2123
pytest backend/tests/ --cov=backend
2224

0 commit comments

Comments
 (0)