Skip to content

Fix CI for visual-testing branch#1461

Open
Vaivaswat2244 wants to merge 7 commits intoprocessing:visual-testingfrom
Vaivaswat2244:xvfb
Open

Fix CI for visual-testing branch#1461
Vaivaswat2244 wants to merge 7 commits intoprocessing:visual-testingfrom
Vaivaswat2244:xvfb

Conversation

@Vaivaswat2244
Copy link
Contributor

This PR fixes the visual test pipeline that was broken in headless CI environments.
Changes:

  • Added Xvfb (virtual framebuffer) to the Gradle CI workflow so Processing sketches can actually render during tests instead of being skipped with "Cannot run sketch without a display"
  • Added automatic upload of diff images as artifacts when tests fail, making it much easier to debug visual mismatches without having to reproduce them locally
  • Temporarily disabled typography tests due to font rendering differences between development machines and the CI runner (ubuntu-latest). Shape tests and all other visual tests are passing. Typography baselines will need to be regenerated against the CI environment in a follow-up.

@Vaivaswat2244 Vaivaswat2244 requested a review from catilac March 3, 2026 10:16
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