Skip to content

Commit

Permalink
MDL-79981 core: Add ability to manually run and filter phpunit on GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Nov 8, 2023
1 parent dd115e5 commit a09ecad
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/push.yml
Expand Up @@ -7,6 +7,12 @@ on:
- MOODLE_[0-9]+_STABLE
tags-ignore:
- v[0-9]+.[0-9]+.[0-9]+*
workflow_dispatch:
inputs:
phpunit_extra_options:
description: Additional options to apply to PHPUnit
required: false
default: ''

env:
php: 8.1
Expand Down Expand Up @@ -113,4 +119,4 @@ jobs:
env:
dbtype: ${{ matrix.db }}
phpunit_options: ${{ secrets.phpunit_options }}
run: vendor/bin/phpunit $phpunit_options
run: vendor/bin/phpunit $phpunit_options ${{ inputs.phpunit_extra_options }}

0 comments on commit a09ecad

Please sign in to comment.