Skip to content

CI optimization: running only affected tests per PR #721

Description

@leader-ke

Hi — I was looking at open-source projects with long CI times and noticed your test runs average 17 minutes (up to 18 min recently).

One approach that's worked well for projects I maintain: running only the tests affected by each PR's changed files instead of the full suite. For reference, here's an open-source GitHub Action that does this: pemystack/greenlight-action.

Not pushing anything — just flagging since long CI is one of the top contributors to slow PR review cycles. Happy to share more details on the approach if it's useful.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions