Temporary skip of problematic package downgrade tests

This commit is contained in:
Pedro Algarvio 2024-05-11 18:39:28 +01:00
parent 71b1b655c6
commit ee34e0c0a2
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF

View file

@ -906,6 +906,15 @@ def pkg_matrix(
f"Found {version} ({backend}) for {distro_slug}: {objects[0]['Key']}"
)
for session in ("upgrade", "downgrade"):
if session == "downgrade" and distro_slug.startswith(
("rockylinux", "amazonlinux", "centos")
):
# XXX: Temporarily skip problematic tests
ctx.warn(
f"Temporary skip {session} builds on {distro_slug} for version {version} "
f"with backend {backend}"
)
continue
if backend == "classic":
session += "-classic"
_matrix.append(