Skip to content

Commit a016328

Browse files
committed
show logs on failure
1 parent 6317da6 commit a016328

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/test_cloudpods.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ jobs:
6363
docker pull localstack/localstack-pro:${{ matrix.tag }}
6464
# Start LocalStack in the background
6565
if [ "mysql" == ${MYSQL_FEATURE_FLAG} ]; then
66-
LS_LOG=trace RDS_MYSQL_DOCKER=1 localstack start -d
66+
DEBUG=1 RDS_MYSQL_DOCKER=1 localstack start -d
6767
else
68-
LS_LOG=trace localstack start -d
68+
DEBUG=1 localstack start -d
6969
fi
7070
# Wait 30 seconds for the LocalStack container to become ready before timing out
7171
echo "Waiting for LocalStack startup..."
@@ -87,4 +87,8 @@ jobs:
8787
cat output
8888
exit 1
8989
fi
90+
- name: Show Logs
91+
if: failure()
92+
run: |
93+
localstack logs
9094

0 commit comments

Comments
 (0)