Skip to content

Commit

Permalink
ci: add tmate to ssh debug when test fail
Browse files Browse the repository at this point in the history
  • Loading branch information
shinny-chenli committed Jan 3, 2025
1 parent b3550e6 commit 8d04bbb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/run-tqsdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,13 @@ jobs:
name: ${{ env.TESTLOGNAME }}
path: ${{ env.TESTLOGPATH }}

- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 15
with:
limit-access-to-actor: true

deploy-on-linux:
if: always()
needs: test-and-build
Expand Down

0 comments on commit 8d04bbb

Please sign in to comment.