Skip to content

[Proposal] Add targeting to CI tests to streamline documentation changes #1524

Open
@danielvegamyhre

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:

  1. Most tests could not trigger on changes only touching self-contained prototypes in torchao/prototype that are not referenced/used elsewhere in the codebase.
  2. 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?

Metadata

Assignees

No one assigned

    Labels

    citopic: improvementUse this tag if this PR is an improvement (doesn't fit into any of the other categories)triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions