mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-10-13 12:22:04 +00:00
Merge pull request #1020 from oddstr13/test-matrix-1
Test matrix additions
This commit is contained in:
commit
bbef2e8ad9
3 changed files with 31 additions and 26 deletions
7
.github/workflows/test.yaml
vendored
7
.github/workflows/test.yaml
vendored
|
@ -16,8 +16,11 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
py_version: ['3.9', '3.11', '3.12']
|
py_version: ['3.9', '3.11', '3.12', '3.13']
|
||||||
os: [ubuntu-latest, windows-latest]
|
os: [ubuntu-latest, windows-latest]
|
||||||
|
include:
|
||||||
|
- py_version: '3.8'
|
||||||
|
os: windows-latest
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
|
@ -32,7 +35,7 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
python -m pip install -r requirements-dev.txt
|
python -m pip install -r requirements-test.txt
|
||||||
|
|
||||||
- name: Lint with flake8
|
- name: Lint with flake8
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -1,27 +1,4 @@
|
||||||
setuptools >= 44.1.1 # Old setuptools causes script.module.addon.signals to fail installing
|
-r requirements-test.txt
|
||||||
python-dateutil >= 2.8.1
|
|
||||||
requests >= 2.22
|
|
||||||
PyYAML >= 6.0
|
|
||||||
|
|
||||||
backports.zoneinfo; python_version < "3.9"
|
|
||||||
tzdata; platform_system == "Windows"
|
|
||||||
|
|
||||||
Kodistubs ~=21.0
|
|
||||||
|
|
||||||
git+https://github.com/ruuk/script.module.addon.signals
|
|
||||||
|
|
||||||
pre-commit >= 3.7.1
|
pre-commit >= 3.7.1
|
||||||
pytest >= 4.6.11
|
|
||||||
coverage >= 5.2
|
|
||||||
flake8 >= 3.8
|
|
||||||
flake8-import-order >= 0.18
|
|
||||||
websocket-client >= 1.6.4
|
|
||||||
black >= 24.4.2
|
black >= 24.4.2
|
||||||
|
|
||||||
types-requests >= 2.31
|
|
||||||
types-PyYAML >= 6.0
|
|
||||||
types-python-dateutil >= 2.8.1
|
|
||||||
types-setuptools >= 44.1.1
|
|
||||||
|
|
||||||
types-Pygments
|
|
||||||
types-colorama
|
|
||||||
|
|
25
requirements-test.txt
Normal file
25
requirements-test.txt
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
setuptools >= 44.1.1 # Old setuptools causes script.module.addon.signals to fail installing
|
||||||
|
python-dateutil >= 2.8.1
|
||||||
|
requests >= 2.22
|
||||||
|
PyYAML >= 6.0
|
||||||
|
|
||||||
|
backports.zoneinfo; python_version < "3.9"
|
||||||
|
tzdata; platform_system == "Windows"
|
||||||
|
|
||||||
|
Kodistubs ~=21.0
|
||||||
|
|
||||||
|
git+https://github.com/ruuk/script.module.addon.signals
|
||||||
|
|
||||||
|
pytest >= 4.6.11
|
||||||
|
coverage >= 5.2
|
||||||
|
flake8 >= 3.8
|
||||||
|
flake8-import-order >= 0.18
|
||||||
|
websocket-client >= 1.6.4
|
||||||
|
|
||||||
|
types-requests >= 2.31
|
||||||
|
types-PyYAML >= 6.0
|
||||||
|
types-python-dateutil >= 2.8.1
|
||||||
|
types-setuptools >= 44.1.1
|
||||||
|
|
||||||
|
types-Pygments
|
||||||
|
types-colorama
|
Loading…
Add table
Add a link
Reference in a new issue