From 40ae75a5f9cfb13e48842824e72d4a351f0205e0 Mon Sep 17 00:00:00 2001 From: Christopher Bartz Date: Mon, 20 Jan 2025 12:43:32 +0100 Subject: [PATCH] add tmate --- .github/workflows/tests.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 995b9808..19f6ae16 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -27,6 +27,10 @@ jobs: STDOUT_LOG=$(mktemp --suffix=stdout.log) echo STDOUT_LOG=$STDOUT_LOG >> $GITHUB_ENV tox -e test,coverage-report --result-json=test-result.json | tee $STDOUT_LOG ; test ${PIPESTATUS[0]} -eq 0 + - name: Tmate debugging session (gh-hosted) + if: failure() + uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 - name: Export test report if: always() uses: actions/github-script@v7