Skip to content

Start PulseAudio in the test job on Ubuntu 26.04 - #327

Merged
maximmaxim345 merged 1 commit into
mainfrom
ci/start-pulseaudio-in-test-job
Nov 23, 2026
Merged

maximmaxim345 merged 1 commit into
mainfrom
ci/start-pulseaudio-in-test-job

Conversation

@maximmaxim345

Copy link
Copy Markdown
Member

What does this implement/fix?

On the Ubuntu 26.04 runner, the tests failed at collection because PortAudio can't initialize without a sound server. The new PortAudio build fails completely when the PulseAudio backend can't connect, where older builds skipped it.

The test job now installs and starts PulseAudio before running pytest. Pinning the job to ubuntu-24.04 would only postpone the problem.

Tested in an ubuntu:26.04 container: 8 collection errors before, 171 tests passed after.

Related issue (if applicable):

Types of changes

  • Bugfix (non-breaking change which fixes an issue): bugfix
  • New feature (non-breaking change which adds functionality): new-feature
  • Enhancement to an existing feature: enhancement
  • Breaking change (changes CLI options, settings, hooks or the protocol in a way that is not backwards compatible): breaking-change
  • Refactor (no behavior change): refactor
  • Documentation only: documentation
  • Maintenance / chore: maintenance
  • CI / workflow change: ci
  • Dependencies bump: dependencies

@github-actions github-actions Bot added the ci Changes CI or GitHub workflows label Nov 23, 2026
@maximmaxim345
maximmaxim345 marked this pull request as ready for review November 23, 2026 10:32
Copilot AI adaptive review requested due to automatic review settings November 23, 2026 10:32
@maximmaxim345
maximmaxim345 merged commit 75c82e1 into main Nov 23, 2026
3 checks passed
@maximmaxim345
maximmaxim345 deleted the ci/start-pulseaudio-in-test-job branch November 23, 2026 10:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues were identified in the CI workflow changes addressing PulseAudio availability for the Ubuntu test job.

No open issues 🎉

What changed in this PR

This CI-only change ensures the Ubuntu test job has a running PulseAudio server so PortAudio can initialize reliably during pytest collection on newer runner images.

Changes:

  • Installs PulseAudio alongside PortAudio dependencies.
  • Starts PulseAudio with idle exit disabled before installing dependencies and running tests.
File Description
.github/​workflows/​test.yml Adds PulseAudio installation and startup steps to the test job.

Review effort: Lite (adaptive)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Changes CI or GitHub workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants