Skip to content

Commit

Permalink
Add check-addon.yml GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Miroshnychenko committed May 5, 2024
1 parent 4a1f33a commit adc0063
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/check-addon.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Check addon

on: [push, pull_request]

jobs:
check:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install dependencies
run: |
pip install -q Pylint Kodistubs typing-extensions
- name: Check with Pylint
run: |
pylint service.subtitles.rvm.addic7ed/addic7ed service.subtitles.rvm.addic7ed/main.py
- name: Install addon checker
run: |
pip install -q kodi-addon-checker
- name: Check with addon-checker
run: |
kodi-addon-checker --branch matrix

0 comments on commit adc0063

Please sign in to comment.