Skip to content

Commit

Permalink
[ci] Allow rerunning gh actions with debug logging.
Browse files Browse the repository at this point in the history
In this case we open an ssh session for 30 mins.
  • Loading branch information
vgvassilev committed Jan 21, 2024
1 parent 240f6a6 commit a48f583
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -786,11 +786,12 @@ jobs:
run: |
export
echo $GITHUB_ENV
- name: Setup tmate session
if: ${{ failure() }}
if: ${{ failure() && runner.debug }}
uses: mxschmitt/action-tmate@v3
# When debugging increase to a suitable value!
timeout-minutes: ${{ github.event.pull_request && 1 || 20 }}
timeout-minutes: 30

- name: Prepare code coverage report
if: ${{ success() && (matrix.coverage == true) }}
Expand Down

0 comments on commit a48f583

Please # to comment.