ci: run the AI model availability tests in Feature tests

This commit is contained in:
MacRimi
2026-11-05 18:10:23 +01:00
parent c2fd894083
commit 9d6c1edbc7
2 changed files with 19 additions and 33 deletions
@@ -1,31 +0,0 @@
name: AI model availability tests
on:
pull_request:
paths:
- '.github/workflows/test-ai-model-availability.yml'
- 'AppImage/config/verified_ai_models.json'
- 'AppImage/scripts/ai_providers/**'
- 'AppImage/scripts/tests/test_groq_model_recommendations.py'
push:
branches: [main, develop]
paths:
- '.github/workflows/test-ai-model-availability.yml'
- 'AppImage/config/verified_ai_models.json'
- 'AppImage/scripts/ai_providers/**'
- 'AppImage/scripts/tests/test_groq_model_recommendations.py'
permissions:
contents: read
jobs:
model-availability:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Test model ordering and curated availability without network or credentials
run: python -B -m unittest discover -s AppImage/scripts/tests -p test_groq_model_recommendations.py -v
+19 -2
View File
@@ -7,7 +7,9 @@ on:
- 'AppImage/scripts/notification_manager.py'
- 'AppImage/scripts/notification_templates.py'
- 'AppImage/scripts/ai_context_enrichment.py'
- 'AppImage/scripts/ai_providers/base.py'
- 'AppImage/scripts/ai_providers/**'
- 'AppImage/config/verified_ai_models.json'
- 'AppImage/scripts/tests/test_groq_model_recommendations.py'
- 'AppImage/scripts/tests/test_backup_ai_diagnostics.py'
- 'AppImage/scripts/notification_channels.py'
- 'AppImage/components/apprise-service-help.tsx'
@@ -72,7 +74,9 @@ on:
- 'AppImage/scripts/notification_manager.py'
- 'AppImage/scripts/notification_templates.py'
- 'AppImage/scripts/ai_context_enrichment.py'
- 'AppImage/scripts/ai_providers/base.py'
- 'AppImage/scripts/ai_providers/**'
- 'AppImage/config/verified_ai_models.json'
- 'AppImage/scripts/tests/test_groq_model_recommendations.py'
- 'AppImage/scripts/tests/test_backup_ai_diagnostics.py'
- 'AppImage/scripts/notification_channels.py'
- 'AppImage/components/apprise-service-help.tsx'
@@ -190,6 +194,19 @@ jobs:
bash -n scripts/gpu_tpu/nvidia_installer.sh
python3 -B -m unittest discover -s tests -p 'test_nvidia*.py' -v
ai-model-availability:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Test model ordering and curated availability without network or credentials
run: python -B -m unittest discover -s AppImage/scripts/tests -p test_groq_model_recommendations.py -v
installer-and-release:
runs-on: ubuntu-latest
timeout-minutes: 10