I have a tox.ini
with several envs, like this example:
[tox]
envlist =
py37,
py38,
py39,
lint-{foo,bar,baz}
...
For several of my users, only a subset of these is useful at a time, usually all the py3
ones or all the lint-
ones.
Is there a syntax such that instead of tox -e py37,py38,py39
, one can say "run all envs (a subset of what tox finds via tox -a
) matching py3
"?
Alternatively, is there a way to group the envs so that one can say "run the test
envs" or "run the cleanup
envs" without losing the ability to call tox
to run them all?
I can write a separate script to handle this, but I'm searching for a built-in way to match.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…