Do the `package` and `test` goals have a similar o...
# general
n
Do the
package
and
test
goals have a similar option as
fmt
that tells Pants to consider only changed files, say within a glob (e.g.,
/sub/path::
), and then walk back up the dependency graph to find all the relevant
pex_binary, python_tests, etc.
targets? Would like to add this step to our PR approval process and automatically reject a PR that causes these goals to fail (i.e., prove that a build will work in the release chain, and that any change does not affect another build).
1
n
Yep!
--changed-since
and
--changed-dependees
, as well as target addresses, are available on most goals.
🙌 1
h
Yeah, they should work on all goals 🙂 In 2.13, we added support for it to
tailor
and
update-build-files
. Which means every goal works with it, except for the very few goals that don't take normal CLI args:
roots
and
paths
iirc
🙌 1
n
Thank you!