Skip to content

Simplify and streamline ci.yaml#1271

Merged
mhucka merged 30 commits intoquantumlib:mainfrom
mhucka:simplify-ci-workflow
Apr 19, 2026
Merged

Simplify and streamline ci.yaml#1271
mhucka merged 30 commits intoquantumlib:mainfrom
mhucka:simplify-ci-workflow

Conversation

@mhucka
Copy link
Copy Markdown
Contributor

@mhucka mhucka commented Apr 19, 2026

This overhauls the CI workflow file to simplify it, remove unnecessary or unused parts, and try to make it more efficient.

mhucka added 13 commits April 19, 2026 01:21
I never used it and I doubt anyone else did. Remove it to simplify the
workflow and improve maintainability.
Another thing I never ended up using.
It's better to pass all the "-r foo.txt" files to `pip install` at once,
because then it can do better dependency resolution. Plus, it's faster
overall.
Instead of using the CLI version of the `actionlint` and having to run
it in a MacOS runner, we can use the GHA action.
Where possible, just include the step as part of the step that invokes
the command.
For jobs that are not too heavy, the `ubuntu-slim` runners are less
expensive and startup faster.
It doesn't seem to help speed things up. The places that need to install
requirements install them anyway. Let's try skipping this job.
@mhucka mhucka marked this pull request as ready for review April 19, 2026 02:24
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

mhucka added 15 commits April 19, 2026 03:48
This is more efficient and simplier.
This makes it possible to avoid having to list the individual jobs in
the branch status checks; instead, the branch check can be for just the
job `CI`. And thanks to that, we can also skip the matrix job reporting
steps, and further simplify this workflow.
The problem matcher files are not essential.
YAML file linting is good enough.
The `gha` filter is meant to catch those.
mhucka added 2 commits April 19, 2026 05:02
Try to make them easier to read in the GitHub actions page.
@mhucka mhucka merged commit 6300ec1 into quantumlib:main Apr 19, 2026
15 checks passed
@mhucka mhucka deleted the simplify-ci-workflow branch April 19, 2026 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant