1 parent 6661fee commit 1e296bfCopy full SHA for 1e296bf
1 file changed
.github/workflows/ci.yml
@@ -43,18 +43,14 @@ jobs:
43
44
- name: Import smoke test
45
env:
46
- PYTHONPATH: .
+ PYTHONPATH: ${{ github.workspace }}
47
GEMINI_API_KEY: "dummy_key_for_ci"
48
run: |
49
- python - <<'PY'
50
- import importlib
51
- importlib.import_module('backend')
52
- print('backend import OK')
53
- PY
+ python -c "import sys; sys.path.append('.'); import backend; print('backend import OK')"
54
55
- name: Run tests
56
57
58
59
run: pytest -q
60
0 commit comments