Skip to content

Commit 9dd217e

Browse files
author
YukiTsuchida
committed
debug: add timeout to test job and include debug step for failure cases
1 parent 003fd5b commit 9dd217e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ jobs:
55
test:
66
name: Test
77
runs-on: ubuntu-latest
8+
timeout-minutes: 120
89
steps:
910

1011
- name: Set up Go 1.16
@@ -31,3 +32,7 @@ jobs:
3132

3233
- name: Test
3334
run: make test
35+
36+
- name: Debug with tmate (open shell)
37+
if: ${{ failure() }}
38+
uses: mxschmitt/action-tmate@v3

0 commit comments

Comments
 (0)