From f8a47b305478aea9dafd6f15e8bac3734e68ca18 Mon Sep 17 00:00:00 2001 From: sommersoft Date: Mon, 28 Mar 2022 16:49:29 -0500 Subject: [PATCH] handle a matrix not having 'os' defined --- testing/downstream_testing/downstream_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/downstream_testing/downstream_runner.py b/testing/downstream_testing/downstream_runner.py index df3e215ff..c9368c8d1 100644 --- a/testing/downstream_testing/downstream_runner.py +++ b/testing/downstream_testing/downstream_runner.py @@ -178,7 +178,7 @@ class DownstreamRunner: for item in parsed_matrix: if (not item[tox_base].startswith(tox_prefix) or item[tox_base] in self.matrix_exclude or - not item.get("os", "").startswith("ubuntu") + not item.get("os", "ubuntu").startswith("ubuntu") ): skip_matrices.append(item) continue