From: Oleg Broytman Date: Fri, 8 Jan 2021 14:10:04 +0000 (+0300) Subject: Test(tox): Refactor `tox.ini`: combine environments X-Git-Tag: 0.8.0~5 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=c35776dc0ec174f7defdb0eb657bff2690618e3f;p=ppu.git Test(tox): Refactor `tox.ini`: combine environments --- diff --git a/tox.ini b/tox.ini index eda0f9f..9f72657 100644 --- a/tox.ini +++ b/tox.ini @@ -19,58 +19,12 @@ commands = deps = -rdevscripts/requirements/requirements_tests.txt -[general] -commands = - {envpython} -m pytest - -[testenv:py27] -commands = - {[testenv]commands} - {[general]commands} - -[testenv:py34] -commands = - {[testenv]commands} - {[general]commands} - -[testenv:py35] -commands = - {[testenv]commands} - {[general]commands} - -[testenv:py36] +[testenv:{py27,py34,py35,py36,py37,py38,py39,pypy}] commands = {[testenv]commands} - {[general]commands} - -[testenv:py37] -commands = - {[testenv]commands} - {[general]commands} - -[testenv:py38] -commands = - {[testenv]commands} - {[general]commands} - -[testenv:py39] -commands = - {[testenv]commands} - {[general]commands} - -[testenv:pypy] -commands = - {[testenv]commands} - {[general]commands} - -[testenv:py27-flake8] -deps = - flake8 -commands = - {[testenv]commands} - flake8 + {envpython} -m pytest -[testenv:py39-flake8] +[testenv:{py27,py34,py35,py36,py37,py38,py39}-flake8] deps = flake8 commands =