-
Notifications
You must be signed in to change notification settings - Fork 20
57 lines (56 loc) · 2.03 KB
/
status.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# 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()