Skip to content

Start Xvfb globally in action instead of per-command#269

Merged
blink1073 merged 4 commits into
Calysto:mainfrom
blink1073:try-overall-xvfb
Mar 9, 2026
Merged

Start Xvfb globally in action instead of per-command#269
blink1073 merged 4 commits into
Calysto:mainfrom
blink1073:try-overall-xvfb

Conversation

@blink1073
Copy link
Copy Markdown
Contributor

Summary

  • Moves Xvfb startup into the composite GitHub Action (action.yml) so it runs once globally for Linux, setting DISPLAY=:99 in the environment
  • Removes per-command xvfb-run --auto-servernum wrappers from test steps in the CI workflow
  • Renames "Install octave" steps to "Setup octave" to better reflect the action's role
  • Adds available_graphics_toolkits verification to the octave install check step

Test plan

  • CI passes on Ubuntu (ubuntu, ubuntu-snap, ubuntu-flatpak install types)
  • CI passes on macOS and Windows (unaffected by Xvfb change)
  • Octave graphics toolkit is available in tests without per-command xvfb-run

Move Xvfb startup into the composite GitHub Action so it runs once for
all Linux jobs, removing the need for xvfb-run wrappers on each test
command. Also add graphics toolkit verification to the octave install
check step and rename "Install octave" steps to "Setup octave".
@blink1073 blink1073 enabled auto-merge (squash) March 9, 2026 00:32
@blink1073 blink1073 merged commit 9fa0137 into Calysto:main Mar 9, 2026
22 checks passed
@blink1073 blink1073 deleted the try-overall-xvfb branch March 9, 2026 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant