cool-easter-32542
06/09/2023, 9:04 AMlocal_environment(
name="local-environment",
subprocess_environment_env_vars=env_vars_devcontainer(),
)
where th subprocesse environment variables are defined in my macros.py. Furthermode I added this environment to my pants.toml:
[environments-preview.names]
local = "//:local-environment"
In my local environment I defined an environment variable, let's call it ENV_VAR=true. I want this environment variable to have a different value for tests, so I add
[test]
extra_env_vars = ["ENV_VAR=false"]
in the pants.toml but that is somehow ignored by pants. ENV_VAR is still on true, when I run pants test
Pants version
Which version of Pants are you using?
2.16.0rc5
OS
Are you encountering the bug on MacOS, Linux, or both?
Linux
Additional info
Add any other information about the problem here, such as attachments or links to gists, if relevant.
pantsbuild/pants