Skip to content

Commit

Permalink
Updated GHA.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Jan 21, 2025
1 parent 2337c87 commit a18134a
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/test-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ on:
- 'feature/**'
workflow_dispatch:
inputs:
enable_upterm:
description: 'Set "true" to enable upterm session.'
required: true
enable_terminal:
type: boolean
description: 'Enable terminal session.'
required: false
default: false

jobs:
test-php:
Expand Down Expand Up @@ -72,8 +74,7 @@ jobs:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Setup upterm session
if: ${{ !cancelled() && github.event.inputs.enable_upterm == 'true' }}
uses: lhotari/action-upterm@v1
with:
wait-timeout-minutes: 5
- name: Setup tmate session
if: ${{ !cancelled() && github.event.inputs.enable_terminal }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 30

0 comments on commit a18134a

Please sign in to comment.