linkchecker/tox.ini
Chris Mayo f39f6a7dd9 Pass CI to tox testenv
Used since:
1cb7f3d78 ("Test on GitHub with httpbin from a container", 2023-06-05)
2023-06-10 17:31:09 +01:00

47 lines
890 B
INI

[tox]
envlist = py3{8,9,10,11}, minreqs
[base]
deps =
pyftpdlib
parameterized
pyopenssl
pytest-xdist
pytest-cov
miniboa >= 1.0.8
GeoIP
[testenv]
usedevelop = true
deps =
!minreqs: -rrequirements.txt
minreqs: -rrequirements-min.txt
{[base]deps}
commands =
!minreqs: pytest {posargs:--cov=linkcheck}
minreqs: pytest {posargs:--cov=linkcheck -c pytest-minreqs.ini}
passenv = CI
setenv =
LC_ALL=en_US.utf-8
[testenv:flake8]
deps = flake8
skip_install = true
commands = flake8 {posargs}
[testenv:check-python-versions]
deps = check-python-versions
skip_install = true
commands = check-python-versions {posargs}
[testenv:pylint]
deps =
pylint
-rrequirements.txt
skip_install = true
commands = pylint {posargs} -E linkcheck
[testenv:yamllint]
deps = yamllint
skip_install = true
commands = yamllint {posargs} -s .github/workflows/