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.

Remove broken news-aggregation-tests workflow

LearningCircuit514eb0d3b1aa
diff --git a/.github/workflows/news-aggregation-tests.yml b/.github/workflows/news-aggregation-tests.yml
deleted file mode 100644
index 03aad5fc1d..0000000000
--- a/.github/workflows/news-aggregation-tests.yml
+++ /dev/null
@@ -1,169 +0,0 @@
-name: News Feature Tests
-
-on:
- push:
- branches: [ main, dev, develop ]
- paths:
- - 'src/**/*news*'
- - 'tests/**/*news*'
- - '.github/workflows/news-feature-tests.yml'
- pull_request:
- branches: [ main, dev, develop ]
- paths:
- - 'src/**/*news*'
- - 'tests/**/*news*'
- workflow_dispatch:
-
-jobs:
- news-tests:
- runs-on: ubuntu-latest
- timeout-minutes: 25
-
- services:
- postgres:
- image: postgres:13
- env:
- POSTGRES_USER: postgres
- POSTGRES_PASSWORD: postgres
- POSTGRES_DB: test_news_db
- options: >-
- --health-cmd pg_isready
- --health-interval 10s
- --health-timeout 5s
- --health-retries 5
- ports:
- - 5432:5432
-
- steps:
- - uses: actions/checkout@v3
-
- - name: Set up PDM
- uses: pdm-project/setup-pdm@v4
- with:
- python-version: '3.11'
-
- - name: Cache pip packages
- uses: actions/cache@v3
- with:
- path: ~/.cache/pip
- key: ${{ runner.os }}-pip-news-${{ hashFiles('**/requirements.txt') }}
- restore-keys: |
- ${{ runner.os }}-pip-news-
- ${{ runner.os }}-pip-
-
- - name: Install system dependencies for SQLCipher
- run: |
- sudo apt-get update
- sudo apt-get install -y libsqlcipher-dev
-
- - name: Install dependencies
- run: |
- pdm sync -d
-
- - name: Set up test database
- env:
- PGPASSWORD: postgres
- run: |
- psql -h localhost -U postgres -c "CREATE DATABASE test_news_db;"
- psql -h localhost -U postgres -d test_news_db -c "CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";"
-
- - name: Initialize database
- env:
- DATABASE_URL: postgresql://postgres:postgres@localhost:5432/test_news_db
- FLASK_APP: src/local-deep-research/web/app.py
- run: |
- cd src
- python -m flask db upgrade
- python -c "from local_deep_research.web.app import db, create_app; app = create_app(); app.app_context().push(); db.create_all()"
-
- - name: Start test server
- env:
- DATABASE_URL: postgresql://postgres:postgres@localhost:5432/test_news_db
- FLASK_APP: src/local-deep-research/web/app.py
- FLASK_ENV: testing
- NEWS_API_KEY: test-api-key
- SECRET_KEY: test-secret-key
- run: |
- cd src
- nohup python -m local_deep_research.web.app > server.log 2>&1 &
- sleep 10
- curl --fail http://127.0.0.1:5000 || (cat server.log && exit 1)
-
- - name: Run news aggregation tests
- run: |
- python -m pytest tests/news/test_news_aggregation.py -v --tb=short || true
- python -m pytest tests/test_news_aggregator.py -v --tb=short || true
- python -m pytest tests/test_news_sources.py -v --tb=short || true
-
- - name: Run news filtering tests
- run: |
- python -m pytest tests/news/test_news_filtering.py -v --tb=short || true
- python -m pytest tests/test_news_filters.py -v --tb=short || true
- python -m pytest tests/test_news_categorization.py -v --tb=short || true
-
- - name: Run news API tests
- run: |
- python -m pytest tests/news/test_news_api.py -v --tb=short || true
- python -m pytest tests/api/test_news_endpoints.py -v --tb=short || true
- python -m pytest tests/test_news_rest_api.py -v --tb=short || true
-
- - name: Run news feed tests
- run: |
- python -m pytest tests/news/test_rss_feeds.py -v --tb=short || true
- python -m pytest tests/test_feed_parser.py -v --tb=short || true
- python -m pytest tests/test_news_feeds.py -v --tb=short || true
-
- - name: Run news UI tests
- env:
- CI: true
- HEADLESS: true
- run: |
- cd tests/ui_tests
- npm install
-
- # Run news-specific UI tests
- node test_news_interface.js || true
- node test_news_filtering_ui.js || true
- node test_news_search.js || true
- node test_news_updates.js || true
-
- - name: Run news integration tests
- run: |
- python -m pytest tests/integration/test_news_integration.py -v --tb=short || true
- python -m pytest tests/test_news_with_research.py -v --tb=short || true
-
- - name: Test news caching
- run: |
- python -m pytest tests/news/test_news_cache.py -v --tb=short || true
- python -m pytest tests/test_news_caching.py -v --tb=short || true
-
- - name: Test news notifications
- run: |
- python -m pytest tests/news/test_news_notifications.py -v --tb=short || true
- python -m pytest tests/test_news_alerts.py -v --tb=short || true
-
- - name: Generate news feature report
- if: always()
- run: |
- echo "News Feature Test Report"
- echo "========================"
- echo ""
- echo "Test Coverage:"
- echo "- News aggregation from multiple sources"
- echo "- RSS feed parsing and processing"
- echo "- News filtering and categorization"
- echo "- News API endpoints"
- echo "- News UI components"
- echo "- News caching mechanisms"
- echo "- News notifications and alerts"
- echo "- Integration with research features"
-
- - name: Upload test artifacts
- if: failure()
- uses: actions/upload-artifact@v4
- with:
- name: news-test-artifacts
- path: |
- tests/news/
- tests/ui_tests/screenshots/*news*
- src/server.log