File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed
Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 11name : Build
22
3- on : [push, pull_request]
3+ on :
4+ push :
5+ pull_request :
6+ workflow_call :
7+ inputs :
8+ debug_ssh_session :
9+ required : false
10+ type : boolean
11+
412
513env :
614 PYTEST_ADDOPTS : --color=yes
1826 run : |
1927 python -m pip install --upgrade pip setuptools wheel
2028 pip install .[qa] .[testing]
29+ - name : Setup tmate session
30+ uses : mxschmitt/action-tmate@v3
31+ if : ${{ inputs.debug_ssh_session }}
32+ with :
33+ limit-access-to-actor : true
2134 - name : Run Flake8
2235 # Ignore F401, which are unused imports. flake8 is a primitive tool and is sometimes wrong.
2336 run : flake8 --extend-ignore F401 parso test/*.py setup.py scripts/
Original file line number Diff line number Diff line change 1+ name : Debug CI
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ tests :
8+ uses : ./.github/workflows/tests.yml
9+ with :
10+ all_tests : true
11+ debug_ssh_session : true
12+ secrets : inherit
You can’t perform that action at this time.
0 commit comments