Skip to content

Status

Status #74654

Workflow file for this run

# This workflow performs status checks to identify broken code paths due to
# backend changes. It tests authentication, resumepoints, search, suggest,
# TV guide, webscrapers and reports new Android app releases.
name: Status
on:
pull_request:
push:
schedule:
- cron: '*/30 * * * *'
jobs:
tests:
name: Checks
runs-on: ubuntu-latest
env:
ADDON_PASSWORD: ${{ secrets.ADDON_PASSWORD }}
ADDON_USERNAME: ${{ secrets.ADDON_USERNAME }}
PYTHONIOENCODING: utf-8
PYTHONPATH: ${{ github.workspace }}/resources/lib:${{ github.workspace }}/tests
strategy:
fail-fast: false
steps:
- name: Check out ${{ github.sha }} from repository ${{ github.repository }}
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: TEST Authentication
run: python -m unittest -v test_tokenresolver.TestTokenResolver.test_successful_login
if: always()
# FIXME: Add a better test for favorites that does not fail
#- name: TEST Favorites
# run: python -m unittest -v test_favorites.TestFavorites.test_programs
- name: TEST ResumePoints
run: python -m unittest -v test_api.TestApi.test_get_continue_episodes
if: always()
- name: TEST Search
run: python -m unittest -v test_search.TestSearch.test_search_journaal
if: always()
- name: TEST Suggest
run: python -m unittest -v test_api.TestApi.test_get_programs_category
if: always()
# FIXME: Add a better test for testing EPG
- name: TEST TV guide
run: python -m unittest -v test_tvguide.TestTVGuide.test_livetv_description
if: always()
- name: TEST Categories
run: python -m unittest -v test_api.TestApi.test_get_categories
if: always()
- name: TEST Check VRT MAX app release
run: python tests/checkvrtmax.py
if: always()