Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix: Add LDR_DATA_DIR to all UI test workflows

LearningCircuit9cdecc83b2f4
diff --git a/.github/workflows/critical-ui-tests.yml b/.github/workflows/critical-ui-tests.yml
index 2913dd7945..79911e1843 100644
--- a/.github/workflows/critical-ui-tests.yml
+++ b/.github/workflows/critical-ui-tests.yml
@@ -84,6 +84,9 @@ jobs:
TEST_ENV: true
SECRET_KEY: test-secret-key-for-ci
run: |
+ mkdir -p data/encrypted_databases
+ export LDR_DATA_DIR=$PWD/data
+ echo "Starting server with LDR_DATA_DIR=$LDR_DATA_DIR"
cd src
# Start server and get its PID
pdm run python -m local_deep_research.web.app > server.log 2>&1 &
diff --git a/.github/workflows/mobile-ui-tests.yml b/.github/workflows/mobile-ui-tests.yml
index e8df5d172d..a0c21a4596 100644
--- a/.github/workflows/mobile-ui-tests.yml
+++ b/.github/workflows/mobile-ui-tests.yml
@@ -56,8 +56,15 @@ jobs:
npm ci
npx puppeteer browsers install chrome
+ - name: Setup test directories
+ run: |
+ mkdir -p data/encrypted_databases
+ echo "Created data directories for tests"
+
- name: Start LDR server
run: |
+ export LDR_DATA_DIR=$PWD/data
+ echo "Starting server with LDR_DATA_DIR=$LDR_DATA_DIR"
pdm run python -m local_deep_research.web.app &
SERVER_PID=$!
echo "SERVER_PID=$SERVER_PID" >> $GITHUB_ENV