ambitious-xylophone-5772
04/10/2023, 8:45 PMambitious-xylophone-5772
04/10/2023, 8:47 PMambitious-xylophone-5772
04/10/2023, 8:47 PMhappy-kitchen-89482
04/10/2023, 10:15 PMambitious-xylophone-5772
04/10/2023, 10:15 PMhappy-kitchen-89482
04/10/2023, 10:16 PMboundless-monitor-67068
12/13/2023, 10:47 AMPANTS_TAG="-mytag" pants --tag="mytag" test ::
according to the docs (and your post), I'd expect to invoke tests for all targets tagged with mytag. However I see no action (using pants v2.18.1), even though I get the expected tests by using either the env var or the tag. The same thing holds when setting the tag in pants.toml
happy-kitchen-89482
12/13/2023, 10:02 PM--tag="['mytag']"
, does that work?happy-kitchen-89482
12/13/2023, 11:02 PMtag
is a list-valued option, and scalar values across different sources (config, env vars and cmd-line args) get concatenated into a list. So in your example you end up with a value of "['-mytag', 'mytag']" and I guess the first one wins. Using a list literal as the value stomps the previous values instead of concatenating.boundless-monitor-67068
12/14/2023, 8:10 AM