diff .github/workflows/ci-test.yml @ 7852:9e686e3f39c1

test(githubci): incrase duration of tmate shell on test runner Also move it after the install of the pytest and other environment code.
author John Rouillard <rouilj@ieee.org>
date Sun, 31 Mar 2024 01:49:07 -0400
parents c4021512f198
children d26eb77e01d8
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml	Sun Mar 31 01:44:48 2024 -0400
+++ b/.github/workflows/ci-test.yml	Sun Mar 31 01:49:07 2024 -0400
@@ -102,16 +102,6 @@
         # continue-on-error: true
         uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
 
-      # https://github.com/mxschmitt/action-tmate
-      # allow remote ssh into the CI container. I need this to debug
-      # some xfail cases 
-      - name: Setup tmate session
-        uses: mxschmitt/action-tmate@v3
-        if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
-        timeout-minutes: 2
-        with:
-          limit-access-to-actor: true
-           
       # Setup version of Python to use
       - name: Set Up Python ${{ matrix.python-version }}
         uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
@@ -138,6 +128,16 @@
       - name: Install pytest and other packages needed for running tests
         run: pip install flake8 hypothesis mock pytest pytest-cov requests sphinx-tabs
 
+      # https://github.com/mxschmitt/action-tmate
+      # allow remote ssh into the CI container. I need this to debug
+      # some xfail cases 
+      - name: Setup tmate session
+        uses: mxschmitt/action-tmate@v3
+        if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
+        timeout-minutes: 10
+        with:
+          limit-access-to-actor: true
+
       - name: run flake8 - abort for syntax error, otherwise warn only
         run: |
             # stop the build for Python syntax errors or undefined names

Roundup Issue Tracker: http://roundup-tracker.org/