From 09efcb9e1a62711113a746b075174a373b1cd3eb Mon Sep 17 00:00:00 2001 From: kovagoadi Date: Sat, 22 Nov 2025 14:41:14 +0100 Subject: [PATCH] Added more tests --- scripts/test-renovate.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/scripts/test-renovate.sh b/scripts/test-renovate.sh index 45d1227..c0e7729 100755 --- a/scripts/test-renovate.sh +++ b/scripts/test-renovate.sh @@ -28,6 +28,24 @@ if ! grep -q "renovate/nginx-1.x" renovate-output.log; then exit 1 fi +echo "Checking for nginx PR title..." +if ! grep -q "Update nginx Docker tag to v1.29.3" renovate-output.log; then + echo "Error: Expected PR title 'Update nginx Docker tag to v1.29.3' not found." + exit 1 +fi + +echo "Checking for expected actions/checkout update..." +if ! grep -q "renovate/actions-checkout-6.x" renovate-output.log; then + echo "Error: Expected 'renovate/actions-checkout-6.x' branch not found in output." + exit 1 +fi + +echo "Checking for actions/checkout PR title..." +if ! grep -q "Update actions/checkout action to v6" renovate-output.log; then + echo "Error: Expected PR title 'Update actions/checkout action to v6' not found." + exit 1 +fi + echo "Checking for onboarding PR..." if ! grep -q "Would create onboarding PR" renovate-output.log; then echo "Error: Expected onboarding PR creation not found."