mirror of
https://github.com/django/daphne.git
synced 2024-11-22 07:56:34 +03:00
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:
parent
b62e58a023
commit
6a5093982c
5
.github/workflows/tests.yml
vendored
5
.github/workflows/tests.yml
vendored
|
@ -8,10 +8,13 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.os }}-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
os:
|
||||||
|
- ubuntu
|
||||||
|
- windows
|
||||||
python-version:
|
python-version:
|
||||||
- "3.6"
|
- "3.6"
|
||||||
- "3.7"
|
- "3.7"
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -22,7 +22,7 @@ setup(
|
||||||
package_dir={"twisted": "daphne/twisted"},
|
package_dir={"twisted": "daphne/twisted"},
|
||||||
packages=find_packages() + ["twisted.plugins"],
|
packages=find_packages() + ["twisted.plugins"],
|
||||||
include_package_data=True,
|
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",
|
python_requires=">=3.6",
|
||||||
setup_requires=["pytest-runner"],
|
setup_requires=["pytest-runner"],
|
||||||
extras_require={"tests": ["hypothesis", "pytest", "pytest-asyncio"]},
|
extras_require={"tests": ["hypothesis", "pytest", "pytest-asyncio"]},
|
||||||
|
|
4
tox.ini
4
tox.ini
|
@ -1,6 +1,6 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist =
|
envlist =
|
||||||
py{36,37,38,39,310}-twisted{187,latest}
|
py{36,37,38,39,310}-twisted{197,latest}
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
usedevelop = true
|
usedevelop = true
|
||||||
|
@ -8,5 +8,5 @@ extras = tests
|
||||||
commands =
|
commands =
|
||||||
pytest -v {posargs}
|
pytest -v {posargs}
|
||||||
deps =
|
deps =
|
||||||
twisted187: twisted==18.7.0
|
twisted187: twisted==19.7.0
|
||||||
twistedlatest: twisted>=20.3.0
|
twistedlatest: twisted>=20.3.0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user