mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 15:52:08 -04:00
Consolidate cover envs and default to py3-cover
This commit is contained in:
parent
ff732bf975
commit
960d66ff41
1 changed files with 6 additions and 17 deletions
23
tox.ini
23
tox.ini
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
[tox]
|
||||
skipsdist = true
|
||||
envlist = modification,py3,py27-cover,lint,mypy
|
||||
envlist = modification,py3-cover,lint,mypy
|
||||
|
||||
[base]
|
||||
# pip installs the requested packages in editable mode
|
||||
|
|
@ -63,8 +63,11 @@ source_paths =
|
|||
passenv =
|
||||
CERTBOT_NO_PIN
|
||||
commands =
|
||||
{[base]install_and_test} {[base]all_packages}
|
||||
python tests/lock_test.py
|
||||
!cover: {[base]install_and_test} {[base]all_packages}
|
||||
!cover: python tests/lock_test.py
|
||||
cover: {[base]install_packages}
|
||||
cover: {[base]pip_install} certbot-apache[dev]
|
||||
cover: python tox.cover.py
|
||||
# We always recreate the virtual environment to avoid problems like
|
||||
# https://github.com/certbot/certbot/issues/7745.
|
||||
recreate = true
|
||||
|
|
@ -116,20 +119,6 @@ commands =
|
|||
setenv =
|
||||
{[testenv:py27-oldest]setenv}
|
||||
|
||||
[testenv:py27-cover]
|
||||
basepython = python2.7
|
||||
commands =
|
||||
{[base]install_packages}
|
||||
{[base]pip_install} certbot-apache[dev]
|
||||
python tox.cover.py
|
||||
|
||||
[testenv:py37-cover]
|
||||
basepython = python3.7
|
||||
commands =
|
||||
{[base]install_packages}
|
||||
{[base]pip_install} certbot-apache[dev]
|
||||
python tox.cover.py
|
||||
|
||||
[testenv:lint]
|
||||
basepython = python3
|
||||
# separating into multiple invocations disables cross package
|
||||
|
|
|
|||
Loading…
Reference in a new issue