Open
Description
I think it would be a nice developer workflow improvement/speedup if the CI tests had targeting rules, to selectively run tests based on the files included in the diff. The CI tests don't take too long right now, but as codebase and number of tests grow the CI will continue requiring more time + resources.
Examples:
- Most tests could not trigger on changes only touching self-contained prototypes in
torchao/prototype
that are not referenced/used elsewhere in the codebase. - Most tests could not trigger on changes which only change documentation.
I believe jobs in Github actions can be configured to include/exclude certain paths (link).
I'm curious to hear others' thoughts on this, if anyone else thinks this would beneficial or not?