Skip to content

Commit ba588d1

Browse files
add setup debug session for github action if fail
1 parent 0fa4a71 commit ba588d1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/unittest.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ jobs:
3333
- name: Run Go test
3434
run: |
3535
make test ENVTEST_K8S_VERSION=${{ matrix.kubernetes-version }}
36+
37+
- name: Setup Debug Session
38+
uses: mxschmitt/action-tmate@v3
39+
timeout-minutes: 15
40+
if: failure()
41+
with:
42+
detached: false
3643

3744
- name: Coveralls report
3845
uses: shogo82148/actions-goveralls@v1

0 commit comments

Comments
 (0)