Repository navigation
Name desktop CI jobs through their matrix key - #299
Conversation
A skipped desktop job in a manual dispatch displayed its unevaluated name expression. Use the default matrix naming with descriptive platform keys instead.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
There was a problem hiding this comment.
🟢 Approval recommended
The change is a self-contained, correct CI job-naming adjustment with no remaining references to the old matrix key and no functional impact.
No open issues 🎉
What changed in this PR
This PR fixes a cosmetic CI problem in BuildAndTest.yml: when the desktop job is skipped (e.g. in a manual workflow_dispatch run), GitHub displayed the raw, unevaluated ${{ matrix.name }} expression as the job name. The matrix is re-keyed on a descriptive platform dimension and the explicit name: expression is dropped, so the job falls back to default matrix naming (desktop (linux-gcc-webkitgtk) for a running matrix leg, and plain desktop when skipped).
Changes:
- Replace the per-entry
namematrix key with aplatformmatrix dimension (linux-gcc-webkitgtk,windows-msvc-webview2,macos-clang-wkwebview). - Remove the
name: ${{ matrix.name }}expression and add an explanatory comment, relying on default matrix job naming.
| File | Description |
|---|---|
.github/workflows/BuildAndTest.yml |
Re-keys the desktop matrix on platform and drops the name: expression so a skipped job no longer renders an unevaluated template. |
Review effort: Balanced
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #299 +/- ##
========================================
Coverage 98.00% 98.00%
========================================
Files 100 100
Lines 8603 8603
Branches 676 676
========================================
Hits 8431 8431
Misses 172 172 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
A skipped desktop job in a manual
workflow_dispatchrun displayed its unevaluated${{ matrix.name }}expression, as the extended jobs did before #297.The desktop matrix is now keyed by descriptive
platformvalues (linux-gcc-webkitgtk,windows-msvc-webview2,macos-clang-wkwebview) and the job uses the default matrix naming, so pull-request checks readdesktop (linux-gcc-webkitgtk)and a skipped job readsdesktop. OnlyNo AI Attributionis a required check ondevelopandmaster, so no branch protection depends on the old names.