Merge pull request #1020 from oddstr13/test-matrix-1

Test matrix additions
This commit is contained in:
Odd Stråbø 2025-08-21 11:13:36 +02:00 committed by GitHub
commit bbef2e8ad9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 31 additions and 26 deletions

View file

@ -16,8 +16,11 @@ jobs:
strategy:
fail-fast: false
matrix:
py_version: ['3.9', '3.11', '3.12']
py_version: ['3.9', '3.11', '3.12', '3.13']
os: [ubuntu-latest, windows-latest]
include:
- py_version: '3.8'
os: windows-latest
runs-on: ${{ matrix.os }}
steps:
@ -32,7 +35,7 @@ jobs:
- name: Install dependencies
run: |
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
run: |

View file

@ -1,27 +1,4 @@
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
-r requirements-test.txt
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
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
View 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