gray-shoe-19951
07/11/2023, 1:41 AMpants run project/build_and_system_test.py
which we can put the build and system test logic in the script and also (manually) specify the dependencies in the corresponding BUILD file? Not sure if pants run has any cache? Probably not. Will it work?gorgeous-winter-99296
07/11/2023, 8:56 AMpants test ::
will rerun tests that have changed since test
was last ran, for example. pants package
and pants publish
do require filtering if you want to do no work, but the build step themselves will be cached as long as they are reproducible -- the side-effects are not.
Dependencies are auto-inferred in a lot of situations as well; for "in-repo" dependencies. For external dependencies, they are inferred once you've told Pants about them using python_requirements
- see Third-party dependencies for more info.gray-shoe-19951
07/12/2023, 1:17 AMhappy-kitchen-89482
07/15/2023, 8:38 AM--changed
flags to get the effect you want: https://www.pantsbuild.org/docs/reference-changed