From 4925f7193380c76159fb95f74db6db44462d64e3 Mon Sep 17 00:00:00 2001 From: Erica Portnoy Date: Wed, 27 Mar 2024 15:11:21 -0700 Subject: [PATCH] work around undocumented lack of ability to reference multi-named envs --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index cc83114c6..6dd17c725 100644 --- a/tox.ini +++ b/tox.ini @@ -73,7 +73,7 @@ basepython = python3.8 setenv = CERTBOT_OLDEST=1 commands = {[testenv:py]commands} -[testenv:cover{,-posix}] +[testenv:cover] coverage_report = python -m coverage report # These coverage report commands are used on both posix and windows common_coverage_report_commands = @@ -98,6 +98,9 @@ commands = {[testenv:cover]coverage_report} --fail-under 100 --include certbot-apache/* {[testenv:cover]common_coverage_report_commands} +[testenv:cover-posix] +commands = {[testenv:cover]commands} + [testenv:cover-win] commands = {[testenv:py-win]commands} --cov --cov-report=