Repository navigation
ci: move SonarCloud back to ubuntu-latest - #100
Merged
Merged
Conversation
qemu-kvm has no install candidate on 26.04, so the apt step fails before any analysis runs. Hosted runners already expose /dev/kvm; the emulator only needs permission to use it, so use the udev rule from the android-emulator-runner README instead. runs-on is ubuntu-26.04 in this commit on purpose, to test the step on the image that broke. The next commit returns it to ubuntu-latest.
The 26.04 run of the new Enable KVM step passed end to end, so the job no longer needs a pinned image.
|
pandeymangg
marked this pull request as ready for review
November 9, 2026 12:35
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
mattinannt
approved these changes
Nov 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What & why
#99 had to pin the SonarCloud job to
ubuntu-24.04.ubuntu-lateststarted serving Ubuntu 26.04, where the "Setup KVM" step fails:qemu-kvmhas no install candidate.GitHub is moving
ubuntu-latestto 26.04 between Oct 19 and Nov 19 (announcement). A pin has to be moved by hand later;ubuntu-latestfollows GitHub's image updates.This replaces the step with the udev rule from the android-emulator-runner README, and goes back to
ubuntu-latest. The runner already has/dev/kvm; the emulator only needs permission to use it. Nothing is installed.Where to look
sonarcloud.yml: the "Enable KVM" step. The only other change isruns-on.Breaking changes
None. CI only.
How this was tested
48b1b9b, job pinned toubuntu-26.04on purposeubuntu-26.04044689b,ubuntu-latestubuntu-26.04Both runs passed every step: Enable KVM, SDK install, emulator boot, instrumented tests, Sonar scan, and the quality gate (0 new issues).
Open gaps
ubuntu-24.04. Until Nov 19,ubuntu-latestcan still serve it. The rule is the one the emulator action documents for all Ubuntu runners, but no run here shows it passing there.