fix(ci): PYTHONPATH=. 防止 runner 环境加载安装目录旧代码
This commit is contained in:
@@ -47,7 +47,7 @@ jobs:
|
||||
|
||||
- name: Run tests (exclude E2E)
|
||||
run: |
|
||||
/tmp/ci-venv-test/bin/pytest tests/ -m "not e2e" -x -q
|
||||
PYTHONPATH=. /tmp/ci-venv-test/bin/pytest tests/ -m "not e2e" -x -q
|
||||
|
||||
# ── Job 3: CI 失败通知 ───────────────────────────────
|
||||
# 使用 needs.<job>.result 直接判断,不查询 commit status API
|
||||
|
||||
Reference in New Issue
Block a user