Skip to content

CI Add aggregating job in GHA to summarize statuses of all unit test jobs and be used a required check #33438

Closed

Description

@lesteve

Follow-up on #32434, the idea would be to have a single ggregating job (green if all unit test jobs are green, red if one of the unit test is red) to use it as required checks. Azure had a built-in aggregated job which we were using for our required check and right now our GHA required checks are based on a number of exact job names which is a bit brittle.

From a quick look some time ago #31832 (comment):

I am wondering whether if this is doable/easy to take into account the status "optional" jobs, for example free-threaded or scipy-dev in a PR.


More details, GitHub required checks are managed centrally via the web UI on a job level and are based on exact job names. Setting is here

Image

That means that it you change a job name in main and then update the required checks, all the PRs will have a pending job that never complete and the PR can not be merged. The work-around is to merge main into your PR branch. Having a single aggregating job used a

I think @FrancoisPgm had an initial look at one point, feel free to add more relevant context if you have some.

Activity

  1. added
    Needs Triage
    on Mar 2, 2026
  2. added and removed
    Needs Triage
    on Mar 2, 2026
  3. changed the title [-]CI Add aggregating job in GHA to summarize status of all unit test jobs[/-] [+]CI Add aggregating job in GHA to summarize statuses of all unit test jobs and be used a required check[/+] on Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions