Add renovate tests #35

Merged
kovagoadi merged 21 commits from add-renovate-tests into main 2025-11-22 17:13:01 +01:00
Showing only changes of commit c6a7d755db - Show all commits

View File

@@ -23,26 +23,26 @@ fi
# Specific assertions based on the test repo state # Specific assertions based on the test repo state
echo "Checking for expected nginx update..." echo "Checking for expected nginx update..."
if ! grep -q "renovate/nginx-1.x" renovate-output.log; then if ! grep -q "renovate/nginx-" renovate-output.log; then
echo "Error: Expected 'renovate/nginx-1.x' branch not found in output." echo "Error: Expected 'renovate/nginx-' branch not found in output."
exit 1 exit 1
fi fi
echo "Checking for nginx PR title..." echo "Checking for nginx PR title..."
if ! grep -q "Update nginx Docker tag to v1.29.3" renovate-output.log; then if ! grep -q "Update nginx Docker tag to" renovate-output.log; then
echo "Error: Expected PR title 'Update nginx Docker tag to v1.29.3' not found." echo "Error: Expected PR title 'Update nginx Docker tag to...' not found."
exit 1 exit 1
fi fi
echo "Checking for expected actions/checkout update..." echo "Checking for expected actions/checkout update..."
if ! grep -q "renovate/actions-checkout-6.x" renovate-output.log; then if ! grep -q "renovate/actions-checkout-" renovate-output.log; then
echo "Error: Expected 'renovate/actions-checkout-6.x' branch not found in output." echo "Error: Expected 'renovate/actions-checkout-' branch not found in output."
exit 1 exit 1
fi fi
echo "Checking for actions/checkout PR title..." echo "Checking for actions/checkout PR title..."
if ! grep -q "Update actions/checkout action to v6" renovate-output.log; then if ! grep -q "Update actions/checkout action to" renovate-output.log; then
echo "Error: Expected PR title 'Update actions/checkout action to v6' not found." echo "Error: Expected PR title 'Update actions/checkout action to...' not found."
exit 1 exit 1
fi fi