ci: add gallery compatibility workflow across OSes#444
ci: add gallery compatibility workflow across OSes#444yarikoptic with Copilot wants to merge 3 commits into
Conversation
|
@copilot the workflow run already failed. Can you experiment in a fork to which you have full access and provide us a solution which you would working? |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #444 +/- ##
==========================================
- Coverage 91.08% 91.00% -0.09%
==========================================
Files 15 15
Lines 1245 1245
Branches 170 170
==========================================
- Hits 1134 1133 -1
- Misses 77 78 +1
Partials 34 34 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
The root cause was that Fixed in The |
con-ductcommands (ls,plot, etc.) must not fail when run against real-world log examples in con/duct-gallery. There was no CI enforcing this.New workflow:
.github/workflows/gallery.yamlMatrix test (
ubuntu-latest+macos-latest): checks outcon/duct-gallery, installscon-duct[all]from the current branch, then runs:con-duct ls duct-gallery/logs/*/example_output_info.jsoncon-duct plot <info_file> --output <name>.pngfor every gallery examplePR comment (non-fork PRs only): after the matrix jobs pass, pushes generated PNGs to an orphan
gallery-pr-{N}branch and posts (or updates) a single PR comment with all plots folded in a<details>block — no comment spam on re-runsTriggers:
pull_request,pushtomain, daily schedule (0 6 * * *)Permissions: minimal —
contents: readfor test jobs;contents: write+pull-requests: writeonly for the comment job