Force package tests to run when golden images change

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
Pedro Algarvio 2023-10-04 16:23:59 +01:00 committed by Pedro Algarvio
parent 6fb7f395d4
commit 68e5428d6b

View file

@ -370,6 +370,7 @@ def define_jobs(
required_pkg_test_changes: set[str] = {
changed_files_contents["pkg_tests"],
changed_files_contents["workflows"],
changed_files_contents["golden_images"],
}
if jobs["test-pkg"] and required_pkg_test_changes == {"false"}:
if "test:pkg" in labels: