2021-02-23 18:29:57 +01:00
|
|
|
name: Kodi Addon-Check
|
2020-03-26 11:31:28 +01:00
|
|
|
on:
|
2021-02-09 21:09:58 +01:00
|
|
|
# Run action when pushed to master, or for commits in a pull request.
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
2020-03-26 11:31:28 +01:00
|
|
|
jobs:
|
2021-02-09 21:09:58 +01:00
|
|
|
kodi-addon-checker:
|
2020-05-11 14:12:13 +02:00
|
|
|
name: Addon checker
|
2020-03-26 11:31:28 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2021-02-09 21:09:58 +01:00
|
|
|
kodi-version: [ leia, matrix ]
|
2020-03-26 11:31:28 +01:00
|
|
|
steps:
|
2021-02-09 21:09:58 +01:00
|
|
|
- name: Check out ${{ github.sha }} from repository ${{ github.repository }}
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
2021-02-23 18:29:57 +01:00
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
|
|
|
sudo apt-get install libxml2-utils
|
|
|
|
sudo python -m pip install kodi-addon-checker
|
|
|
|
|
|
|
|
- name: Run Addon Check for Kodi ${{matrix.kodi-version}}
|
|
|
|
run: make check-addon-${{matrix.kodi-version}}
|