Bump xmlschema from 3.4.2 to 3.4.3 #1818
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
# Controls when the action will run. | |
on: push | |
jobs: | |
# Flake | |
flake: | |
name: Run flake8 linter | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out plugin repository | |
uses: actions/checkout@v4 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- name: Install flake8 | |
run: pip install flake8 | |
- name: Run flake8 | |
uses: wearerequired/lint-action@v2 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
flake8: true | |
# Test add-on python files | |
test-plugin-modules: | |
name: Load each Python files of the addon to detect errors | |
needs: flake | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out plugin repository | |
uses: actions/checkout@v4 | |
with: | |
path: plugin.video.catchuptvandmore | |
- name: Check out simulator repository | |
uses: actions/checkout@v4 | |
with: | |
path: simulator | |
repository: Catch-up-TV-and-More/catchuptvandmore-test | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
working-directory: simulator | |
run: pip install -r requirements.txt | |
- name: Start catchuptvandmore-test with test_modules config | |
working-directory: simulator | |
run: python main.py --test-modules -a ../plugin.video.catchuptvandmore | |
# Check the plugin with kodi-addon-checker | |
# kodi-addon-checker: | |
# name: Kodi-addon-checker | |
# needs: test-plugin-modules | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Check out plugin repository | |
# uses: actions/checkout@v4 | |
# - name: Set up Python 3.8 | |
# uses: actions/setup-python@v5 | |
# with: | |
# python-version: 3.8 | |
# - name: Install kodi-addon-checker | |
# run: pip install kodi-addon-checker | |
# - name: Run kodi-addon-checker | |
# run: kodi-addon-checker --branch krypton --allow-folder-id-mismatch . | |
# Update repository.catchuptvandmore | |
update-repo: | |
name: Update repository.catchuptvandmore | |
needs: flake | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- name: Check out repository.catchuptvandmore repository | |
uses: actions/checkout@v4 | |
with: | |
repository: Catch-up-TV-and-More/repository.catchuptvandmore | |
token: ${{ secrets.GITHUB_ACTIONS_ACCESS_TOKEN }} | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Configure git | |
run: | | |
git config user.name 'GitHub Actions' | |
git config user.email '[email protected]' | |
- name: Update all repositories | |
run: ./update_all_repos.sh | |
# Test the plugin with our Kodi simulator | |
kodi-simulator-1: | |
name: "Explore random replay channel #1" | |
needs: update-repo | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out plugin repository | |
uses: actions/checkout@v4 | |
with: | |
path: plugin.video.catchuptvandmore | |
- name: Check out simulator repository | |
uses: actions/checkout@v4 | |
with: | |
path: simulator | |
repository: Catch-up-TV-and-More/catchuptvandmore-test | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
working-directory: simulator | |
run: pip install -r requirements.txt | |
- name: Start catchuptvandmore-test | |
working-directory: simulator | |
run: python main.py -c configs/5_explore_random_replay_channel_random_country.json | |
kodi-simulator-2: | |
name: "Explore random website" | |
needs: kodi-simulator-1 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out plugin repository | |
uses: actions/checkout@v4 | |
with: | |
path: plugin.video.catchuptvandmore | |
- name: Check out simulator repository | |
uses: actions/checkout@v4 | |
with: | |
path: simulator | |
repository: Catch-up-TV-and-More/catchuptvandmore-test | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
working-directory: simulator | |
run: pip install -r requirements.txt | |
- name: Start catchuptvandmore-test | |
working-directory: simulator | |
run: python main.py -c configs/6_explore_random_website.json |