~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.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
Fix CI/CD test paths: use absolute paths and working-directory (#1965)
LearningCircuit351f0c4d4c19
diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.ymlindex a22784af93..c07964463c 100644--- a/.github/workflows/api-tests.yml+++ b/.github/workflows/api-tests.yml@@ -205,17 +205,17 @@ jobs:fi# Run health checks- cd tests/health_check && pdm run python test_endpoints_health.py+ pdm run python "${{ github.workspace }}/tests/health_check/test_endpoints_health.py"# Run API tests- cd ../api_tests && pdm run python test_rest_api.py+ pdm run python "${{ github.workspace }}/tests/api_tests/test_rest_api.py"# Run HTTP API Examples Testsecho "=== Testing HTTP API Examples ==="export LDR_USE_FALLBACK_LLM=true- export PYTHONPATH=$PWD/../../src:$PYTHONPATH+ export PYTHONPATH="${{ github.workspace }}/src:$PYTHONPATH"- pdm run python test_http_examples.py || {+ pdm run python "${{ github.workspace }}/tests/api_tests/test_http_examples.py" || {echo "❌ HTTP API Examples tests failed"exit 1}diff --git a/.github/workflows/critical-ui-tests.yml b/.github/workflows/critical-ui-tests.ymlindex 4083abb944..91083b2c50 100644--- a/.github/workflows/critical-ui-tests.yml+++ b/.github/workflows/critical-ui-tests.yml@@ -67,10 +67,10 @@ jobs:TEST_ENV: trueLDR_DATA_DIR: ${{ github.workspace }}/dataLDR_DB_KDF_ITERATIONS: "1000" # Must match server setting for encryption compatibility+ working-directory: ${{ github.workspace }}/srcrun: |# Use external script for maintainability (see scripts/ci/init_test_database.py)- cd src- pdm run python ../scripts/ci/init_test_database.py+ pdm run python "${{ github.workspace }}/scripts/ci/init_test_database.py"- name: Start test serverenv:@@ -81,8 +81,8 @@ jobs:SECRET_KEY: test-secret-key-for-ciLDR_DATA_DIR: ${{ github.workspace }}/dataLDR_DB_KDF_ITERATIONS: "1000" # Reduce from 256000 for faster test user creation+ working-directory: ${{ github.workspace }}/srcrun: |- cd srcpdm run python -m local_deep_research.web.app > server.log 2>&1 &for i in {1..30}; doif curl -f http://127.0.0.1:5000 2>/dev/null; then@@ -93,7 +93,8 @@ jobs:done- name: Install Node.js dependencies- run: cd tests/ui_tests && npm ci+ working-directory: ${{ github.workspace }}/tests/ui_tests+ run: npm ci- name: Cache Puppeteer Chromeuses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2@@ -111,8 +112,8 @@ jobs:env:CI: trueHEADLESS: true+ working-directory: ${{ github.workspace }}/tests/ui_testsrun: |- cd tests/ui_testsecho "Running registration form validation (no auth)..."node test_register_validation.js@@ -182,8 +183,8 @@ jobs:SECRET_KEY: test-secret-key-for-ciLDR_DATA_DIR: ${{ github.workspace }}/dataLDR_DB_KDF_ITERATIONS: "1000" # Reduce from 256000 for faster test user creation+ working-directory: ${{ github.workspace }}/srcrun: |- cd srcpdm run python -m local_deep_research.web.app > server.log 2>&1 &for i in {1..60}; doif curl -f http://127.0.0.1:5000 2>/dev/null; then@@ -194,7 +195,8 @@ jobs:done- name: Install Node.js dependencies- run: cd tests/ui_tests && npm ci+ working-directory: ${{ github.workspace }}/tests/ui_tests+ run: npm ci- name: Cache Puppeteer Chromeuses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2@@ -212,9 +214,8 @@ jobs:env:CI: trueHEADLESS: true+ working-directory: ${{ github.workspace }}/tests/ui_testsrun: |- cd tests/ui_tests-echo "Running auth flow test (creates user)..."node test_auth_flow.js || exit 1@@ -290,8 +291,8 @@ jobs:SECRET_KEY: test-secret-key-for-ciLDR_DATA_DIR: ${{ github.workspace }}/dataLDR_DB_KDF_ITERATIONS: "1000" # Reduce from 256000 for faster test user creation+ working-directory: ${{ github.workspace }}/srcrun: |- cd srcpdm run python -m local_deep_research.web.app > server.log 2>&1 &for i in {1..30}; doif curl -f http://127.0.0.1:5000 2>/dev/null; then@@ -302,7 +303,8 @@ jobs:done- name: Install Node.js dependencies- run: cd tests/ui_tests && npm ci+ working-directory: ${{ github.workspace }}/tests/ui_tests+ run: npm ci- name: Cache Puppeteer Chromeuses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2@@ -317,16 +319,15 @@ jobs:run: mkdir -p tests/ui_tests/screenshots- name: Register CI test user- working-directory: tests/ui_tests+ working-directory: ${{ github.workspace }}/tests/ui_testsrun: node register_ci_user.js http://127.0.0.1:5000- name: Run feature tests (uses CI user - fast)env:CI: trueHEADLESS: true+ working-directory: ${{ github.workspace }}/tests/ui_testsrun: |- cd tests/ui_tests-# Note: Validation tests moved to extended-ui-tests.yml for faster critical path:# - test_change_password_validation.js# - test_settings_validation.jsdiff --git a/.github/workflows/news-tests.yml b/.github/workflows/news-tests.ymlindex 15ca67f9d5..8b8cbb294e 100644--- a/.github/workflows/news-tests.yml+++ b/.github/workflows/news-tests.yml@@ -100,7 +100,7 @@ jobs:- name: Run news API testsrun: |- pdm run pytest tests/test_news/ -v --tb=short || true+ pdm run pytest tests/news/ -v --tb=short || true- name: Upload news test screenshotsif: always()