Skip to content

Commit 01a8232

Browse files
committed
set up terminal if failed
1 parent 9deb797 commit 01a8232

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
@@ -259,6 +259,11 @@ jobs:
259259
./.github/scripts/build.sh
260260
./run_reg_test.py ${{ matrix.suite }} -show_failures -j${{ steps.cpu-cores.outputs.count}}
261261
262+
- name: Setup tmate session
263+
- uses: actions/checkout@v4
264+
if: ${{ failure() }}
265+
uses: mxschmitt/action-tmate@v3
266+
262267
- name: Upload regression run files
263268
if: ${{ !cancelled() }}
264269
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)