when running `./pants test ::` for all tests, is t...
# general
f
when running
./pants test ::
for all tests, is there an option to mark which tests should run with cache available and which should always be run as if there was no local cache (essentially with
--no-local-cache
)? I am thinking about creating a separate
python_tests
target with
tags
e.g.
./pants --tag="integration" test :: --no-local-cache
. Is there a better option?
b
Maybe a field added to select targets? 🤔
f
sorry, what do you mean? 😕
b
Perhaps this could be implemented as a PR where you add a field to python_test target along the lines of "no cache"
f
ah I see, makes sense. I am not convinced adding a new field is justified -- using a tag will suffice for these needs, imho, but just wanted to check with others just in case 🙂