Skip to content

Commit ea4e534

Browse files
committed
Add github actions
1 parent d6d8e7f commit ea4e534

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/addon-check.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Addon Checker
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
env:
9+
BRANCH: gotham # Replace to match your case
10+
11+
runs-on: ubuntu-latest
12+
strategy:
13+
max-parallel: 4
14+
matrix:
15+
python-version: [3.7]
16+
17+
steps:
18+
- uses: actions/checkout@v1
19+
- name: Set up Python ${{ matrix.python-version }}
20+
uses: actions/setup-python@v1
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
pip install kodi-addon-checker
27+
- name: Addon check
28+
run: |
29+
kodi-addon-checker --branch=${{env.BRANCH}} .

0 commit comments

Comments
 (0)