From 3c159f16827f62707216941c8480349dfbc994dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Correa=20G=C3=B3mez?= Date: Thu, 18 Jun 2026 01:49:29 +0200 Subject: [PATCH] ci: simplify pmb usage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pmb.helpers.package.check_arch with binary=False is a complex way of fetching the APKBUILD and checking it against pmb.helpers.pmaports.check_arches. Since we already have the APKBUILD, just check the arches directly. Signed-off-by: Pablo Correa Gómez Part-of: --- .ci/testcases/test_ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/testcases/test_ui.py b/.ci/testcases/test_ui.py index c9ef07ae1..677f500e1 100644 --- a/.ci/testcases/test_ui.py +++ b/.ci/testcases/test_ui.py @@ -24,7 +24,7 @@ def test_aports_ui(): apkbuild = pmb.parse.apkbuild(path) # Skip if arch isn't enabled - if not pmb.helpers.package.check_arch(apkbuild["pkgname"], arch, False): + if not pmb.helpers.pmaports.check_arches(apkbuild["arch"], arch): continue for package in apkbuild["_pmb_recommends"]: