Fix legacy Python CI #1299
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
# This workflow performs the required add-on checks for a submission | |
# to the official Kodi repository | |
name: Kodi | |
on: | |
# Run action when pushed to master, or for commits in a pull request. | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
tests: | |
name: Addon checker | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
path: ${{ github.repository }} | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install git+https://github.com/xbmc/addon-check.git | |
- name: Remove unwanted files | |
run: awk '/export-ignore/ { print $1 }' .gitattributes | xargs rm -rf -- | |
working-directory: ${{ github.repository }} | |
- name: Run kodi-addon-checker | |
run: kodi-addon-checker --branch=matrix ${{ github.repository }}/ |