handle a matrix not having 'os' defined
This commit is contained in:
parent
8314dc6fb1
commit
f8a47b3054
|
@ -178,7 +178,7 @@ class DownstreamRunner:
|
||||||
for item in parsed_matrix:
|
for item in parsed_matrix:
|
||||||
if (not item[tox_base].startswith(tox_prefix) or
|
if (not item[tox_base].startswith(tox_prefix) or
|
||||||
item[tox_base] in self.matrix_exclude 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)
|
skip_matrices.append(item)
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue