add tmate on manual
This commit is contained in:
@@ -3,7 +3,12 @@ name: Coverage
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
debug_enabled:
|
||||||
|
description: 'Run with tmate'
|
||||||
|
required: false
|
||||||
|
default: ''
|
||||||
jobs:
|
jobs:
|
||||||
coverage:
|
coverage:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -23,6 +28,13 @@ jobs:
|
|||||||
-
|
-
|
||||||
name: test contrib
|
name: test contrib
|
||||||
run: cd src/lib/ebus/contrib/test && ./test_contrib
|
run: cd src/lib/ebus/contrib/test && ./test_contrib
|
||||||
|
-
|
||||||
|
name: setup tmate
|
||||||
|
uses: mxschmitt/action-tmate@v3
|
||||||
|
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
|
||||||
|
timeout-minutes: 5
|
||||||
|
with:
|
||||||
|
sudo: false
|
||||||
-
|
-
|
||||||
name: test coverage
|
name: test coverage
|
||||||
run: ./test_coverage.sh
|
run: ./test_coverage.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user