From f6ca00dff9a710583c5493a3e83ce5734c98cc47 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 27 Sep 2024 16:40:57 -0400 Subject: [PATCH] Do also tmate for when debug logging enabled (e.g. on rerunning PR) --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ee94e0e34..a5073ce25 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -102,7 +102,7 @@ jobs: - name: "(debug mode) Setup tmate session" uses: mxschmitt/action-tmate@v3 - if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }} + if: ${{ (github.event_name == 'workflow_dispatch' && inputs.debug_enabled) || (env.ACTIONS_RUNNER_DEBUG == 'true') }} - name: Run all tests if: matrix.mode != 'dandi-api'