Skip to content
Snippets Groups Projects

CI: test_ui: get arches from pmaports.cfg

Merged Imported Administrator requested to merge v22.06-fix-ci into master
2 files
+ 4
1
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 3
1
@@ -15,7 +15,9 @@ def test_aports_ui(args):
"""
Raise an error if package in _pmb_recommends is not found
"""
for arch in pmb.config.build_device_architectures:
pmaports_cfg = pmb.config.pmaports.read_config(args)
for arch in pmaports_cfg["supported_arches"].split(","):
for path in glob.iglob(args.aports + "/main/postmarketos-ui-*/APKBUILD"):
apkbuild = pmb.parse.apkbuild(path)
# Skip if arch isn't enabled
Loading