From 461e47cfd12f18c17b1259e8270b150575f18ea1 Mon Sep 17 00:00:00 2001 From: Neil Shephard Date: Mon, 14 Oct 2024 12:11:02 +0100 Subject: [PATCH] ci: Adds tmate to tests.yaml workflow Resolves #896 Adds [debugging with tmate](https://github.com/marketplace/actions/debugging-with-tmate) action to `tests.yaml` which allows SSHing into GitHub Runners _if_ tests have failed. --- .github/workflows/tests.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 5656df4534..2765d71ea5 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -51,3 +51,8 @@ jobs: coverage xml - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 + + - name: Setup tmate session + if: ${{ failure() }} + uses: mxschmitt/action-tmate@v3 + timeout-minutes: 5