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: replace invalid --tests arguments with direct test commands

LearningCircuit2556e805b22f
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 1cdcf5dd13..fb691e32dd 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -109,10 +109,10 @@ jobs:
ldr-test \
sh -c "cd tests && python run_all_tests.py ci --no-server-start"
- # Health check tests
- health-check:
+ # Text optimization and integration tests
+ text-optimization-tests:
runs-on: ubuntu-latest
- name: Health Check
+ name: Text Optimization Tests
needs: [unit-tests, infrastructure-tests]
if: |
github.event_name == 'pull_request' ||
@@ -125,7 +125,7 @@ jobs:
- name: Build Docker image
run: docker build --target ldr-test -t ldr-test .
- - name: Run health check
+ - name: Run text optimization tests
run: |
docker run --rm \
-v $PWD:/app \
@@ -133,12 +133,12 @@ jobs:
-e LDR_TESTING_WITH_MOCKS=true \
-w /app \
ldr-test \
- sh -c "cd tests && python run_all_tests.py ci --tests health"
+ sh -c "python -m pytest tests/text_optimization/ -v"
- # Pytest tests
- pytest-tests:
+ # Extended pytest tests (beyond unit tests)
+ extended-pytest-tests:
runs-on: ubuntu-latest
- name: Pytest Suite
+ name: Extended Pytest Suite
needs: [unit-tests, infrastructure-tests]
if: |
github.event_name == 'pull_request' ||
@@ -151,7 +151,7 @@ jobs:
- name: Build Docker image
run: docker build --target ldr-test -t ldr-test .
- - name: Run pytest tests
+ - name: Run extended pytest suite
run: |
docker run --rm \
-v $PWD:/app \
@@ -160,7 +160,14 @@ jobs:
-e CI=true \
-w /app \
ldr-test \
- sh -c "cd tests && python run_all_tests.py ci --tests pytest"
+ sh -c "python -m pytest \
+ --verbose \
+ --color=yes \
+ --cov=src \
+ --cov-report=term \
+ --tb=short \
+ --durations=10 \
+ tests/searxng/"
# UI tests
ui-tests-full:
@@ -227,10 +234,11 @@ jobs:
-e LDR_USE_FALLBACK_LLM=true \
-e LDR_TESTING_WITH_MOCKS=true \
-e CI=true \
+ -e PUPPETEER_HEADLESS=true \
--network host \
- -w /app \
+ -w /app/tests/ui_tests \
ldr-test \
- sh -c "cd tests && python run_all_tests.py ci --tests ui"
+ sh -c "xvfb-run -a -s '-screen 0 1920x1080x24' node run_all_tests.js || node run_all_tests.js"
- name: Stop server
if: always()