| 1 |
[tox] |
| 2 |
# |
| 3 |
# Leap 15.2 contains lxml 4.4.2 |
| 4 |
envlist = |
| 5 |
py{36,37,38,39}-lxml{,4.6.0,4.5.2,4.4.3,4.4.2} |
| 6 |
|
| 7 |
[gh-actions] |
| 8 |
python = |
| 9 |
3.6: py36 |
| 10 |
3.7: py37 |
| 11 |
3.8: py38 |
| 12 |
3.9: py39 |
| 13 |
|
| 14 |
[testenv] |
| 15 |
description = Run test suite for {basepython} |
| 16 |
deps = |
| 17 |
-r base-devel-requirements.txt |
| 18 |
lxml: lxml |
| 19 |
lxml4.6.0: lxml==4.6.0 |
| 20 |
lxml4.5.2: lxml==4.5.2 |
| 21 |
lxml4.4.3: lxml==4.4.3 |
| 22 |
lxml4.4.2: lxml==4.4.2 |
| 23 |
usedevelop = True |
| 24 |
setenv = |
| 25 |
PIP_DISABLE_PIP_VERSION_CHECK = 1 |
| 26 |
commands = |
| 27 |
pytest {posargs:} |
| 28 |
|
| 29 |
|
| 30 |
[testenv:flake8] |
| 31 |
basepython = python3 |
| 32 |
description = Check code style |
| 33 |
deps = flake8 |
| 34 |
commands = flake8 {posargs:bin} |