-
-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable use of tox grouping or aliases for running multiple environments #647
Comments
I like this idea, I'll try and hack on something like this this weekend -- maybe first as a plugin and work out the interface before merging into tox itself. |
This needs some thought, as aliases also need to have a description, and can easily see the need to have them special args for them. Maybe this warrants a new section in tox config, or maybe we can have umbrella environments that hide multiple envs underneath; and we'll also need to figure out what happens when tox -e lint,py27 is invoked e.g. |
When consider a solution we should also look at #646 which asks for a way to avoid unknown environment parameters. They seem to be around the same area. |
What I would like is something like: and then run tox with:
And perhaps even: |
I just added the "hard" label here, because I think there are several factors that would make something like this hard:
|
I think for now we can say that grouping/aliasing is a won't fix; or at least deferred to the new
|
Closing this as wontfix then referring to the NewHope(TM) coming up in #999. |
(oops better make this consistent and keep open until things are clarified in #999) |
A labeling system has been added with #2290 |
As a tox user, if I want to run all linting targets on a project I can easily up with a command that looks like
tox -e yamllint,flake8,ansible-lint,ansible-check,ansible-syntax-check
real life scenarioIt I could tell tox that
lint=yamllint,flake8,ansible-lint,ansible-check,ansible-syntax-check
, I could easily run it with justtox -e lint
I seen people using Makefiles to simplify triggering differing tox targets but I think we should improve tox itself so we would not have to require people to use wrappers to hide that ugly complexity.
The text was updated successfully, but these errors were encountered: