Skip to content

[CI] ci: generate badges from nightly job matrix#614

Open
jokasimr wants to merge 1 commit into
mainfrom
fix-split-nightlies
Open

[CI] ci: generate badges from nightly job matrix#614
jokasimr wants to merge 1 commit into
mainfrom
fix-split-nightlies

Conversation

@jokasimr
Copy link
Copy Markdown
Contributor

@jokasimr jokasimr commented May 28, 2026

In our old multi-repo setup each badge on the ess-project page was associated with a single workflow run.

In the current setup that is not the case, for two reasons:

  1. All three nightly tests are run in the same workflow (this could be changed).
  2. Each package is tested in the same workflow (this could probably not be changed).

This means that if we want "per package" badges in the status page, we cannot use the /badge.svg url associated with the workflow, like we did before.

This PR implements a solution for this problem that lets us have a single nightly workflow for all nightly types and all packages, but it requires us to generate the badge svgs ourselves based on results retrieved from the github api in a separate step in the workflow.

It does sound a bit icky, but I think having per-project badges on the status page might be worth it.
What do you think? Is there a better solution?

Alternatives:

  1. Split the nightly workflows per nightly-type (main, latest, lowest) and only display one badge per nightly-type, not one per package.
  2. Create one separate workflow for each nightly-type / package combination.

@github-actions github-actions Bot added the CI label May 28, 2026
@github-actions github-actions Bot changed the title ci: generate badges from nightly job matrix [CI] ci: generate badges from nightly job matrix May 28, 2026
@github-actions
Copy link
Copy Markdown

Hi! Your PR was missing some labels 🔖 so I added them: CI
Hi Again 👋! I added the missing prefix: [CI] to the title.

@jokasimr jokasimr requested a review from YooSunYoung May 28, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant