Filter arm when needed

This commit is contained in:
Daniel A. Wozniak 2024-11-22 20:11:20 -07:00 committed by Daniel Wozniak
parent 5707e459d3
commit dc3c713b44

View file

@ -1627,6 +1627,11 @@ def workflow_config(
platforms = ["linux", "macos", "windows"]
pkg_test_matrix = {}
if os.environ.get("LINUX_ARM_RUNNER", "0") == "0":
TEST_SALT_LISTING["linux"] = list(
filter(lambda x: x.arch != "arm64", TEST_SALT_LISTING["linux"])
)
if not skip_pkg_tests:
for platform in platforms:
pkg_test_matrix[platform] = [