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 f145764 commit aa335a7
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: 7.4
Expand Down Expand Up @@ -109,4 +115,4 @@ jobs:
- name: Running PHPUnit tests
env:
dbtype: ${{ matrix.db }}
run: vendor/bin/phpunit -v
run: vendor/bin/phpunit -v ${{ inputs.phpunit_extra_options }}

0 comments on commit aa335a7

Please sign in to comment.