You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PaddleSpeech/third_party/python-pinyin/tox.ini

37 lines
745 B

# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py37, py38, py39, pypy, pypy3
[base]
deps =
pytest
pytest-cov
pytest-random-order
[testenv]
deps = {[base]deps}
commands = py.test --cov pypinyin tests/ pypinyin/
[oldpy]
deps =
pytest<3.3.0
pytest-cov<2.6.0
pytest-random-order<0.8
commands = py.test --cov pypinyin tests/
[testenv:py33]
deps = {[oldpy]deps}
commands = {[oldpy]commands}
[testenv:py34]
deps = {[oldpy]deps}
commands = {[oldpy]commands}
[testenv:pypy]
deps = {[oldpy]deps}
commands = {[oldpy]commands}