-
Notifications
You must be signed in to change notification settings - Fork 42
36 lines (29 loc) · 1.05 KB
/
check-kodi-repos.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
name: Online check Kodi official repositories
on:
push:
branches: [master]
jobs:
check-repos:
runs-on: ubuntu-latest
continue-on-error: true
strategy:
fail-fast: false
matrix:
repo: ['repo-plugins', 'repo-scripts', 'repo-scrapers', 'repo-resources', 'repo-skins']
kodi-version: ['gotham', 'helix', 'isengard', 'jarvis', 'krypton', 'leia', 'matrix', 'nexus', 'omega']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install -U pip
pip install -r requirements.txt
- name: Clone repo
run: |
git clone --branch=${{ matrix.kodi-version }} --depth=1 --single-branch https://github.com/xbmc/${{ matrix.repo }}.git ../repo;
- name: Run addon checker against the cloned repo
run: |
python -m kodi_addon_checker --branch=${{ matrix.kodi-version }} ../repo;