From f5e5708b09748327e7382c070a235f877157a031 Mon Sep 17 00:00:00 2001 From: David Dworken Date: Sun, 6 Nov 2022 14:25:20 -0800 Subject: [PATCH] Enable tmate for failing tests --- .github/workflows/go-test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go-test.yml b/.github/workflows/go-test.yml index e5d6293..cbc18d4 100644 --- a/.github/workflows/go-test.yml +++ b/.github/workflows/go-test.yml @@ -21,7 +21,6 @@ jobs: uses: actions/setup-go@v3 with: go-version: 1.18 - # - uses: mxschmitt/action-tmate@v3 - name: Go test shell: bash if: ${{ !startsWith(github.event.head_commit.message, 'Release') }} @@ -34,3 +33,8 @@ jobs: sudo hostname ghaction-runner-hostname || true # Set a consistent hostname so we can run tests that depend on it sudo scutil --set HostName ghaction-runner-hostname || true make test + - name: Setup tmate session + if: ${{ failure() }} + uses: mxschmitt/action-tmate@v3 + with: + limit-access-to-actor: true \ No newline at end of file