ci(tests): optimize workflow jobs and windows shards#624
Merged
Chemaclass merged 3 commits intomainfrom Apr 18, 2026
Merged
Conversation
Contributor
✅ Contributor ReportUser: @Chemaclass This user is on the trusted contributors list and was automatically approved. |
Consolidate 5 standalone Ubuntu full-suite jobs into a single matrix. Rebalance Windows shards (6 to 5) by merging `unit c` with `unit coverage`. Rename Windows jobs to remove name collision between `windows` and `windows-acceptance` (the skipped job on PRs now shows a clean label). Keep acceptance matrix push-only.
c5e07e0 to
1d5ff3a
Compare
Previous run showed `unit d-p` as the slowest shard at ~2m01s. Split into `unit d-g` (6 files, ~820 LOC) and `unit h-p` (4 files, ~848 LOC, includes the heavy `helpers_test.sh` and `parallel_test.sh`). Wall-clock target drops to ~1m per shard. Adds one runner, halves Windows completion time.
GitHub evaluates job-level `if:` before matrix expansion, so a skipped
job with a `${{ matrix.name }}` template leaks the raw template into
the PR checks UI. Removing the explicit `name:` lets GitHub auto-name
from the job id (`windows-acceptance` when skipped, `windows-acceptance
(a-e)` etc. when running).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ubuntu,simple-output,simple-output-parallel,extended-output-parallel,strict-mode) into a singleubuntumatrix. Same coverage, fewer YAML blocks.unit c+unit coverage(≈1m45s, still under theunit d-pceiling). Wall-clock unchanged, saves one runner per PR.windows-acceptancedisplay toWindows acceptance - ...so the skipped-on-PR job no longer collides with thewindowsjob name, and the unexpanded${{ matrix.name }}template stops leaking into the UI.Test plan
windows-acceptanceshows as cleanly skipped with resolved matrix namesmain:windows-acceptancematrix expands and runs