mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
chore: add tmate for manual ssh into runner
This commit is contained in:
parent
96e726e390
commit
d0f127718f
1 changed files with 10 additions and 0 deletions
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
|
@ -7,6 +7,12 @@ on:
|
|||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
tmate_debug_enabled:
|
||||
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
|
||||
required: false
|
||||
default: false
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
|
@ -30,6 +36,10 @@ jobs:
|
|||
python -m pip --version
|
||||
python -m pip install wheel
|
||||
python -m pip install -r requirements/tests.txt
|
||||
- name: Setup tmate session
|
||||
uses: mxschmitt/action-tmate@v3
|
||||
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tmate_debug_enabled }}
|
||||
timeout-minutes: 15
|
||||
- name: Run QA Checks
|
||||
if: ${{ startsWith(matrix.os, 'ubuntu') && startsWith(matrix.python-version, '3.10') }}
|
||||
run: python -m xonsh run-tests.xsh qa
|
||||
|
|
Loading…
Add table
Reference in a new issue