Skip to content

Commit a395c14

Browse files
committed
Enable tmate debug session for PR workflow
1 parent 0fe4d09 commit a395c14

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/pr.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ jobs:
7979
kind create cluster --image kindest/node:"$K8S_VERSION"
8080
DOCKER_REGISTRY_SERVER=local-server OPERATOR_IMAGE=local-operator make deploy-kind
8181
SUPPORT_VOLUME_EXPANSION=false make system-tests
82+
- name: Setup tmate session
83+
if: ${{ failure() }} # start a debugging tmate session when system tests fail
84+
uses: mxschmitt/action-tmate@v3
8285

8386
kubectl_tests:
8487
name: kubectl rabbitmq tests

0 commit comments

Comments
 (0)