<@U53N57B1R> you cannot today out of the box. You ...
# general
e
@rich-helicopter-79006 you cannot today out of the box. You can run an arbitrary command before a test by having the test depend on a
prep_command
target (see: https://www.pantsbuild.org/build_dictionary.html). To run an action after tests complete, you'll need to write a plugin
Task
as things stand. That
Task
would depend on the
'ran_tests'
product type: https://github.com/pantsbuild/pants/blob/master/src/python/pants/core_tasks/noop.py#L22-L30 If you want to pursue this with a local plugin and need help, this is the right forum to ask questions. Starter docs for writing a plugin are here: https://www.pantsbuild.org/howto_plugin.html