11[tox]
2- envlist = py36, py37, py38, pypy , format, mypy, lint, docs, packaging
2+ envlist = py36, py37, py38, pypy3 , format, mypy, lint, docs, packaging
33
44[gh-actions]
55python =
66 3.6: py36
77 3.7: py37
8- 3.8: py38, format, mypy, lint, docs, package
9- pypy: pypy
8+ 3.8: py38, format, mypy, lint, docs, packaging
9+ pypy3: pypy3
1010
1111[testenv]
12+ passenv =
13+ GITHUB_*
1214deps =
1315 pytest ==5.4.3
1416 pytest-cov ==2.10.0
17+ pytest-xdist ==1.33.0
1518commands =
16- pytest --cov =wsproto {posargs}
19+ pytest --cov-report =xml -- cov-report =term -- cov =wsproto {posargs}
1720
18- [testenv:pypy ]
21+ [testenv:pypy3 ]
1922# temporarily disable coverage testing on PyPy due to performance problems
2023commands = pytest {posargs}
2124
@@ -30,14 +33,15 @@ deps =
3033 black ==19.10b0
3134 isort ==5.0.3
3235commands =
33- black --check --diff src/wsproto/ test/ example/ compliance/
34- isort --check --diff src/wsproto/ test/ example/ compliance/
36+ black --check --diff src/ test/ example/ compliance/
37+ isort --check --diff src/ test/ example/ compliance/
3538
3639[testenv:mypy]
3740basepython = python3.8
38- deps = mypy
41+ deps =
42+ mypy ==0.782
3943commands =
40- mypy src/wsproto/ test/ example/
44+ mypy src/ test/ example/
4145
4246[testenv:lint]
4347basepython = python3.8
@@ -56,13 +60,12 @@ commands =
5660 make html
5761
5862[testenv:packaging]
59- basepython = python3.8
63+ basepython = python3.8
6064deps =
61- check-manifest ==0.42
62- readme-renderer ==26.0
63- twine ==3.2.0
65+ check-manifest ==0.42
66+ readme-renderer ==26.0
67+ twine ==3.2.0
6468commands =
65- check-manifest
66- python setup.py check --metadata --strict
67- python setup.py sdist
68- twine check dist/*
69+ check-manifest
70+ python setup.py sdist
71+ twine check dist/*
0 commit comments