diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 01122562..2a44d5d9 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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: | diff --git a/requirements-dev.txt b/requirements-dev.txt index 5f37e165..04bcd7b5 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -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 diff --git a/requirements-test.txt b/requirements-test.txt new file mode 100644 index 00000000..a33d9b94 --- /dev/null +++ b/requirements-test.txt @@ -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