mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
separate cover environment to workaround tox bug (#9519)
This commit is contained in:
parent
ac75977156
commit
124e6d80c3
1 changed files with 9 additions and 7 deletions
16
tox.ini
16
tox.ini
|
|
@ -30,13 +30,9 @@ platform =
|
|||
posix: ^(?!.*win32).*$
|
||||
commands_pre = python {toxinidir}/tools/pipstrap.py
|
||||
commands =
|
||||
!cover-win: {[base]install_and_test} {[base]win_all_packages}
|
||||
!cover-!win: {[base]install_and_test} {[base]all_packages}
|
||||
!cover: python tests/lock_test.py
|
||||
|
||||
cover-win: {[base]pip_install} {[base]win_all_packages}
|
||||
cover-!win: {[base]pip_install} {[base]all_packages} certbot-apache[dev]
|
||||
cover: python tox.cover.py
|
||||
win: {[base]install_and_test} {[base]win_all_packages}
|
||||
!win: {[base]install_and_test} {[base]all_packages}
|
||||
python tests/lock_test.py
|
||||
# We always recreate the virtual environment to avoid problems like
|
||||
# https://github.com/certbot/certbot/issues/7745.
|
||||
recreate = true
|
||||
|
|
@ -112,6 +108,12 @@ commands =
|
|||
setenv =
|
||||
{[testenv:oldest]setenv}
|
||||
|
||||
[testenv:cover{,-win,-posix}]
|
||||
commands =
|
||||
win: {[base]pip_install} {[base]win_all_packages}
|
||||
!win: {[base]pip_install} {[base]all_packages} certbot-apache[dev]
|
||||
python tox.cover.py
|
||||
|
||||
[testenv:lint{,-win,-posix}]
|
||||
basepython = python3
|
||||
# separating into multiple invocations disables cross package
|
||||
|
|
|
|||
Loading…
Reference in a new issue