From 6f4b42b6d3d437eeef5f342a70df9f38789ca399 Mon Sep 17 00:00:00 2001 From: Michele Baldessari Date: Fri, 5 Jun 2026 12:53:50 +0200 Subject: [PATCH] Add some optional skips in run_tests.sh In some cases it is nice to be able to skip ci badges or git pushes --- tests/interop/run_tests.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/interop/run_tests.sh b/tests/interop/run_tests.sh index 7a35517f4..a76d29a70 100755 --- a/tests/interop/run_tests.sh +++ b/tests/interop/run_tests.sh @@ -34,6 +34,10 @@ pytest -lv --disable-warnings test_validate_hub_site_components.py --kubeconfig pytest -lv --disable-warnings test_validate_edge_site_components.py --kubeconfig "$KUBECONFIG_EDGE" --junit-xml "$WORKSPACE/test_validate_edge_site_components.xml" -pytest -lv --disable-warnings test_modify_web_content.py --kubeconfig "$KUBECONFIG" --junit-xml "$WORKSPACE/test_modify_web_content.xml" +if [ "${SKIP_GIT_CHANGES:-}" != "true" ]; then + pytest -lv --disable-warnings test_modify_web_content.py --kubeconfig "$KUBECONFIG" --junit-xml "$WORKSPACE/test_modify_web_content.xml" +fi -python3 create_ci_badge.py +if [ "${SKIP_CI_BADGE:-}" != "true" ]; then + python3 create_ci_badge.py +fi