Skip to content

Commit c2e4dba

Browse files
committed
Debug with tmate
1 parent 5f08886 commit c2e4dba

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,12 @@ jobs:
290290
- name: Interface test
291291
run: cmake --build build --target test_cmake_build
292292

293+
- name: Setup tmate debugging session
294+
uses: mxschmitt/action-tmate@v3
295+
if: failure()
296+
with:
297+
sudo: false
298+
293299

294300
# Testing on CentOS 7 + PGI compilers, which seems to require more workarounds
295301
centos-nvhpc7:
@@ -339,6 +345,12 @@ jobs:
339345
- name: Interface test
340346
run: cmake3 --build build --target test_cmake_build
341347

348+
- name: Setup tmate debugging session
349+
uses: mxschmitt/action-tmate@v3
350+
if: failure()
351+
with:
352+
sudo: false
353+
342354
# Testing on GCC using the GCC docker images (only recent images supported)
343355
gcc:
344356
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)