Skip to content

Commit

Permalink
Do also tmate for when debug logging enabled (e.g. on rerunning PR)
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikoptic committed Sep 27, 2024
1 parent 4e63286 commit f6ca00d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit f6ca00d

Please sign in to comment.