]> git.madduck.net Git - etc/vim.git/blob - tox.ini

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Add optional uvloop import (#2258)
[etc/vim.git] / tox.ini
1 [tox]
2 envlist = py{36,37,38,39},fuzz
3
4 [testenv]
5 setenv = PYTHONPATH = {toxinidir}/src
6 skip_install = True
7 deps =
8     -r{toxinidir}/test_requirements.txt
9 commands =
10     pip install -e .[d]
11     coverage erase
12     pytest tests --run-optional no_python2 --numprocesses auto --cov {posargs}
13     pip install -e .[d,python2]
14     pytest tests --run-optional python2 --numprocesses auto --cov --cov-append {posargs}
15     coverage report
16
17 [testenv:fuzz]
18 skip_install = True
19 deps =
20     -r{toxinidir}/test_requirements.txt
21     hypothesmith
22     lark-parser < 0.10.0
23 ; lark-parser's version is set due to a bug in hypothesis. Once it solved, that would be fixed.
24 commands =
25     pip install -e .[d]
26     coverage erase
27     coverage run fuzz.py
28     coverage report