Run CI tests on Windows. (#393)

* Updated minimum twisted to 19.7

Co-authored-by: Michael Käufl <django@c.michael-kaeufl.de>
This commit is contained in:
Carlton Gibson 2021-11-09 20:12:29 +01:00 committed by GitHub
parent b62e58a023
commit 6a5093982c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 5 deletions

View File

@ -8,10 +8,13 @@ on:
jobs:
tests:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
os:
- ubuntu
- windows
python-version:
- "3.6"
- "3.7"

View File

@ -22,7 +22,7 @@ setup(
package_dir={"twisted": "daphne/twisted"},
packages=find_packages() + ["twisted.plugins"],
include_package_data=True,
install_requires=["twisted[tls]>=18.7", "autobahn>=0.18", "asgiref>=3.2.10,<4"],
install_requires=["twisted[tls]>=19.7", "autobahn>=0.18", "asgiref>=3.2.10,<4"],
python_requires=">=3.6",
setup_requires=["pytest-runner"],
extras_require={"tests": ["hypothesis", "pytest", "pytest-asyncio"]},

View File

@ -1,6 +1,6 @@
[tox]
envlist =
py{36,37,38,39,310}-twisted{187,latest}
py{36,37,38,39,310}-twisted{197,latest}
[testenv]
usedevelop = true
@ -8,5 +8,5 @@ extras = tests
commands =
pytest -v {posargs}
deps =
twisted187: twisted==18.7.0
twisted187: twisted==19.7.0
twistedlatest: twisted>=20.3.0