From 41079c348b7557190063a9dfb26338d061475628 Mon Sep 17 00:00:00 2001 From: mediaminister Date: Mon, 24 Aug 2026 14:10:39 +0200 Subject: [PATCH] Update testing --- .github/workflows/ci.yml | 9 ++++----- lib/inputstreamhelper/config.py | 11 ++++++----- tests/test_ishelper_linux_arm64.py | 15 +++++++++++++++ 3 files changed, 25 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc6a6f17..af672983 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,10 +21,10 @@ jobs: python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13'] steps: - name: Check out ${{ github.sha }} from repository ${{ github.repository }} - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -70,8 +70,8 @@ jobs: - name: Upload code coverage to CodeCov uses: codecov/codecov-action@v5.5.1 continue-on-error: true - - name: Analyze with SonarCloud - uses: SonarSource/sonarcloud-github-action@v5.0.0 + - name: Analyze with SonarQube Scan + uses: SonarSource/sonarqube-scan-action@v8.2.1 with: args: > -Dsonar.organization=emilsvennesson @@ -79,6 +79,5 @@ jobs: -Dsonar.sources=lib/ -Dsonar.tests=tests/ env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} continue-on-error: true diff --git a/lib/inputstreamhelper/config.py b/lib/inputstreamhelper/config.py index 3079bd36..c861c7d0 100644 --- a/lib/inputstreamhelper/config.py +++ b/lib/inputstreamhelper/config.py @@ -82,12 +82,12 @@ # To keep the Chrome OS ARM(64) hardware ID list up to date, the following resources can be used: # https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices # https://chromiumdash.appspot.com/serving-builds?deviceCategory=Chrome%20OS -# Last updated: 2026-01-29 -# current Chrome OS version: 16463.79.0, Widevine version: 4.10.2662.3 +# Last updated: 2026-08-24 +# current Chrome OS version: 16733.54.0, Widevine version: 4.10.2662.3 CHROMEOS_RECOVERY_ARM_BNAMES = [ - 'bob', # no longer updated, still latest wv. last: https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_15509.81.0_bob_recovery_stable-channel_mp-v2.bin.zip - 'kevin', # no longer updated, still latest wv. last: https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_15509.81.0_kevin_recovery_stable-channel_mp-v2.bin.zip - 'scarlet', # no longer updated, still latest wv. last: https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_15509.81.0_scarlet_recovery_stable-channel_mp-v8.bin.zip + 'bob', # no longer updated, still 4.10.2662.3 wv. last: https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_15509.81.0_bob_recovery_stable-channel_mp-v2.bin.zip + 'kevin', # no longer updated, still 4.10.2662.3 wv. last: https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_15509.81.0_kevin_recovery_stable-channel_mp-v2.bin.zip + 'scarlet', # no longer updated, still 4.10.2662.3 wv. last: https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_15509.81.0_scarlet_recovery_stable-channel_mp-v8.bin.zip ] CHROMEOS_RECOVERY_ARM64_BNAMES = [ @@ -98,6 +98,7 @@ 'geralt', 'hana', 'jacuzzi', + 'jedi', 'kukui', 'rauru', 'skywalker', diff --git a/tests/test_ishelper_linux_arm64.py b/tests/test_ishelper_linux_arm64.py index 46ad9f3b..b7a82437 100644 --- a/tests/test_ishelper_linux_arm64.py +++ b/tests/test_ishelper_linux_arm64.py @@ -24,12 +24,27 @@ def setUp(self): inputstreamhelper.widevine.widevine.system_os = lambda: 'Linux' inputstreamhelper.widevine.repo.system_os = lambda: 'Linux' + def test_check_inputstream_mpd(self): + platform.machine = lambda: 'arm64' + + inputstreamhelper.userspace64 = lambda: True + inputstreamhelper.widevine.arm.userspace64 = lambda: True + + is_helper = inputstreamhelper.Helper('mpd', drm='com.widevine.alpha') + is_helper.remove_widevine() + is_installed = is_helper.check_inputstream() + self.assertTrue(is_installed, True) + def test_check_inputstream_mpd_chromeos(self): platform.machine = lambda: 'arm64' inputstreamhelper.userspace64 = lambda: True inputstreamhelper.widevine.arm.userspace64 = lambda: True + inputstreamhelper.cdm_from_repo = lambda: False + inputstreamhelper.widevine.widevine.cdm_from_repo = lambda: False + inputstreamhelper.widevine.repo.cdm_from_repo = lambda: False + is_helper = inputstreamhelper.Helper('mpd', drm='com.widevine.alpha') is_helper.remove_widevine() is_installed = is_helper.check_inputstream()