Hi! Is there a way to tell pants to ignore cache f...
# general
l
Hi! Is there a way to tell pants to ignore cache for running tests? I see that I can pass flags for specific test runners, not sure if there is a global one
l
thx!
does this work in 1.30?
it doesn't look like it does 😞
w
@loud-stone-83419: for the v1 test runner, you’d want
--cache-ignore
./pants test --cache-ignore $target
in v1, position matters for that flag:
--cache-ignore
after
test
only ignores the cache for `test`… before
test
would ignore it for the entire run.
👍 1
l
thx!
s
for v1, we use something like
Copy code
./pants compile path/to/sources:: --cache-ignore=True