Added debugging
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user