Skip to content

Commit

Permalink
Workflow dispatch with options
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronFeledy committed Oct 21, 2024
1 parent 146fdd3 commit a095c74
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/pr-php-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@ name: PHP Tests

on:
pull_request:
workflow_dispatch:
inputs:
lando-version:
description: 'Select Lando version'
required: true
default: '3-edge'
type: choice
options:
- '3-stable'
- '3-edge'
- '3-dev'
- '4-stable'
- '4-edge'
- '4-dev'
slim:
description: 'Use slim version'
required: false
default: true
type: boolean

jobs:
leia-tests:
Expand Down Expand Up @@ -50,10 +69,10 @@ jobs:
lando-plugin: true
version: dev
sync: false
- name: Setup lando ${{ matrix.lando-version }}
- name: Setup lando ${{ github.event.inputs.lando-version }}${{ github.event.inputs.slim && '-slim' || '' }}
uses: lando/setup-lando@v3
with:
lando-version: ${{ matrix.lando-version }}
lando-version: ${{ github.event.inputs.lando-version }}${{ github.event.inputs.slim && '-slim' || '' }}
config: |
setup.skipCommonPlugins=true
setup.plugins.@lando/php=/home/runner/work/php/php
Expand Down

0 comments on commit a095c74

Please sign in to comment.