diff options
| author | guahki <85439599+guahki@users.noreply.github.com> | 2021-09-13 21:17:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-13 20:17:52 +0100 |
| commit | 3c1c29ab609bf4471d5bf5598585cd76fa890c71 (patch) | |
| tree | 720c9702d6d9b67f7163cd5c8695bbdb765d0e58 /src | |
| parent | 9f789a770a706bfea0e59181252a68f7d43b5481 (diff) | |
| download | tox-git-3c1c29ab609bf4471d5bf5598585cd76fa890c71.tar.gz | |
Only respect ALL environments when not in parallel (#2207)
Diffstat (limited to 'src')
| -rw-r--r-- | src/tox/config/__init__.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tox/config/__init__.py b/src/tox/config/__init__.py index 54dbf0bd..b51c8633 100644 --- a/src/tox/config/__init__.py +++ b/src/tox/config/__init__.py @@ -1498,9 +1498,10 @@ class ParseIni(object): env_list = [] envlist_explicit = False - if (from_option and "ALL" in from_option) or ( - not from_option and from_environ and "ALL" in from_environ.split(",") - ): + if ( + (from_option and "ALL" in from_option) + or (not from_option and from_environ and "ALL" in from_environ.split(",")) + ) and PARALLEL_ENV_VAR_KEY_PRIVATE not in os.environ: all_envs = self._getallenvs(reader) else: candidates = ( |
