From 22e8a22eb2d4e83aef420a5b654b42f5f0144115 Mon Sep 17 00:00:00 2001 From: Rahul Agrawal <12agrawalrahul@gmail.com> Date: Wed, 7 Oct 2026 02:03:14 +0530 Subject: [PATCH] fix(e2e): start the ci worker without CI so its jobs can use local models --- .github/actions/e2e-site/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/e2e-site/action.yml b/.github/actions/e2e-site/action.yml index 1781484..de518d0 100644 --- a/.github/actions/e2e-site/action.yml +++ b/.github/actions/e2e-site/action.yml @@ -95,7 +95,8 @@ runs: working-directory: /home/runner/frappe-bench run: | nohup bench serve --port 8000 --noreload > logs/e2e-web.log 2>&1 & - nohup bench worker > logs/e2e-worker.log 2>&1 & + # With CI set, frappe runs every job in test mode, which turns Local models off. + nohup env -u CI bench worker > logs/e2e-worker.log 2>&1 & nohup node apps/frappe/socketio.js > logs/e2e-socketio.log 2>&1 & for attempt in $(seq 1 60); do curl -sf http://wikify.localhost:8000/api/method/ping && exit 0