We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c75b217 commit 621117eCopy full SHA for 621117e
.github/workflows/tests.yaml
@@ -1,8 +1,14 @@
1
name: Test
2
on:
3
- - push
4
- - pull_request
5
- - workflow_dispatch
+ push:
+ pull_request:
+ workflow_dispatch:
6
+ inputs:
7
+ debug_enabled:
8
+ type: boolean
9
+ description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
10
+ required: false
11
+ default: false
12
13
jobs:
14
test:
@@ -40,3 +46,6 @@ jobs:
40
46
- name: Run functional
41
47
run: tox -e functional
42
48
if: matrix.python-version == '3.10'
49
+ - name: Setup tmate session
50
+ uses: mxschmitt/action-tmate@v3
51
+ if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
0 commit comments