Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run Linux tests on Mutter, instead of Xvfb #3013

Merged
merged 2 commits into from
Jan 14, 2024
Merged

Run Linux tests on Mutter, instead of Xvfb #3013

merged 2 commits into from
Jan 14, 2024

Conversation

amolenaar
Copy link
Member

@amolenaar amolenaar commented Jan 12, 2024

Alternative for #3014

PR Type

What kind of change does this PR introduce?

  • Bug fix
  • Feature
  • Chore (refactoring, formatting, local variables, other cleanup)
  • Documentation content changes

What is the current behavior?

We use Xvfb for testing in CI

Issue Number: N/A

What is the new behavior?

Use Mutter instead: Wayland has the future.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@amolenaar amolenaar force-pushed the mutter branch 2 times, most recently from 94f7644 to 345d2b1 Compare January 12, 2024 12:54
Copy link
Member

@danyeaw danyeaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @amolenaar, this looks great to me! I noticed that Workbench also recently started using mutter, maybe there is a tip we can learn from their workflow? https://github.com/workbenchdev/Workbench/blob/main/.github/workflows/CI.yaml

@amolenaar
Copy link
Member Author

amolenaar commented Jan 13, 2024

I think the approach is pretty similar. I prefer executing the tests as sub-process of mutter over starting it as a service. I do not see them launch a dbus session, or XDG_RUNTIME_DIR variable, but I guess that's because they're relying on Flatpak for the testing.

@amolenaar amolenaar merged commit 54d8109 into main Jan 14, 2024
20 checks passed
@amolenaar amolenaar deleted the mutter branch January 14, 2024 14:22
@danyeaw danyeaw added the chore Maintenance related PR label Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Maintenance related PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants