Skip to content

Provider diagnostics #2

Provider diagnostics

Provider diagnostics #2

name: Provider diagnostics
run-name: Provider diagnostics
# Monthly (1st, 03:00 UTC) and on demand:
# hits each subtitle provider with a known-good title and fails if one
# returns nothing or an unrecognized response, an early warning that a
# provider changed its site or API before users are affected.
on:
schedule:
- cron: "0 3 1 * *"
workflow_dispatch:
jobs:
diagnose:
runs-on: windows-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version-file: .python-version
- name: Install package
run: |
python -m pip install --upgrade pip
pip install .
- name: Run provider diagnostics
run: python -m subsearch.providers.diagnostics