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: Reduce mobile UI test comment noise in PRs

LearningCircuitd635e8d063e2
diff --git a/.github/workflows/mobile-ui-tests.yml b/.github/workflows/mobile-ui-tests.yml
index 4e8ac8f9d3..3457a5a306 100644
--- a/.github/workflows/mobile-ui-tests.yml
+++ b/.github/workflows/mobile-ui-tests.yml
@@ -86,7 +86,7 @@ jobs:
SCREENSHOT_ON_FAILURE: true
TEST_BASE_URL: http://127.0.0.1:5000
run: |
- node test_mobile_navigation_ci.js
+ node mobile/test_mobile_navigation_ci.js
- name: Upload test results
if: always()
@@ -99,11 +99,12 @@ jobs:
tests/ui_tests/test-failures/
- name: Publish Test Results
- if: always()
+ if: always() && matrix.python-version == '3.12'
uses: EnricoMi/publish-unit-test-result-action@v2
with:
files: tests/ui_tests/test-results.xml
- check_name: Mobile UI Test Results (Python ${{ matrix.python-version }})
+ check_name: Mobile UI Test Results
+ comment_mode: update last
- name: Stop server
if: always()
@@ -112,49 +113,3 @@ jobs:
kill $SERVER_PID || true
fi
pkill -f "python -m local_deep_research.web.app" || true
-
- - name: Comment PR with results
- if: github.event_name == 'pull_request' && always()
- uses: actions/github-script@v7
- with:
- script: |
- const fs = require('fs');
- const path = require('path');
-
- let results = {};
- try {
- const resultsPath = path.join(process.env.GITHUB_WORKSPACE, 'tests/ui_tests/test-results.json');
- if (fs.existsSync(resultsPath)) {
- results = JSON.parse(fs.readFileSync(resultsPath, 'utf8'));
- }
- } catch (e) {
- console.error('Could not read test results:', e);
- }
-
- const summary = results.summary || { total: 0, passed: 0, failed: 0 };
- const emoji = summary.failed === 0 ? '✅' : '❌';
-
- const body = `## ${emoji} Mobile UI Test Results
-
- **Python ${{ matrix.python-version }}**
-
- | Status | Count |
- |--------|-------|
- | Total | ${summary.total} |
- | ✅ Passed | ${summary.passed} |
- | ❌ Failed | ${summary.failed} |
-
- ${summary.failed > 0 ? '### Failed Tests\n' +
- (results.tests || [])
- .filter(t => t.status === 'failed')
- .map(t => `- **${t.name}**: ${t.error}`)
- .join('\n') : ''}
-
- [View Full Results](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})`;
-
- github.rest.issues.createComment({
- issue_number: context.issue.number,
- owner: context.repo.owner,
- repo: context.repo.repo,
- body: body
- });