Documentation on how to use new labels #2406
-
I want to create a new env that runs in almost the same way as the default env except it has more extras. I'll try to give a minimal example.
I want the Based on the docs with the new version, I can't figure out how to make this happen. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
This is untested, but should probably work:
On gitlab you could then run Here, two features are combined. The new labels feature, as outlined in https://tox.wiki/en/rewrite/config.html#labels and factors as described in https://tox.wiki/en/latest/config.html?highlight=factor#factors-and-factor-conditional-settings Please note that |
Beta Was this translation helpful? Give feedback.
This is untested, but should probably work:
On gitlab you could then run
tox -m gitlab
.Here, two features are combined.
The new labels feature, as outlined in https://tox.wiki/en/rewrite/config.html#labels and factors as described in https://tox.wiki/en/latest/config.html?highlight=factor#factors-and-factor-conditional-settings
Please note that
labels
are a feature of tox4 for which currently there is a beta available at https://pypi.org/project/tox/4.0.0b2/