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 0cfc699af7 - Show all commits

View File

@@ -6,9 +6,18 @@ renovate-config-validator
echo "Running Renovate E2E (no dry-run)..." echo "Running Renovate E2E (no dry-run)..."
# Capture output but also stream it to stdout for debugging # Capture output but also stream it to stdout for debugging
set +e
renovate > renovate-e2e-output.log 2>&1 renovate > renovate-e2e-output.log 2>&1
RENOVATE_EXIT_CODE=$?
set -e
cat renovate-e2e-output.log cat renovate-e2e-output.log
if [ $RENOVATE_EXIT_CODE -ne 0 ]; then
echo "Error: Renovate command failed with exit code $RENOVATE_EXIT_CODE"
exit 1
fi
# Assertions # Assertions
echo "Checking for successful run..." echo "Checking for successful run..."
if ! grep -q "Repository finished" renovate-e2e-output.log; then if ! grep -q "Repository finished" renovate-e2e-output.log; then