mirror of
https://github.com/django/daphne.git
synced 2024-11-21 15:36:33 +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
7
.github/workflows/tests.yml
vendored
7
.github/workflows/tests.yml
vendored
|
@ -3,15 +3,18 @@ name: Tests
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- master
|
||||
pull_request:
|
||||
|
||||
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"
|
||||
|
|
2
setup.py
2
setup.py
|
@ -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"]},
|
||||
|
|
4
tox.ini
4
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user