discoverygarden/PHPUnit Action
Runs configured PHPUnit Tests implemented in called repository.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 9, 2026
- License
- GPL 3.0
Pinned Snippet
uses: discoverygarden/phpunit-action@e69606999cbbe3a48fe28d3c25a546842bcf6530 # v1.6.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| composer-auth | Composer auth token necessary for accessing our composer project. | no | — |
| composer_package | Composer project reference. (ex. discoverygarden/dgi_group) it's only necessary to provide this if the composer package differs from the repository name. | no | ${{ github.repository }} |
| drupal_extension | The module name for enabling within drupal. (Ex. discoverygarden/module would be `module`). It's only necessary to provide this if the module name differs from the repository name. | no | ${{ github.event.repository.name }} |
| composer_patches | Additional composer patches that might be necessary to run the workflow. | no | {} |
| composer_package_prerequisites | require-dev modules required for the module. | no | — |
| drupal_root | The root drupal directory. (Default: /opt/drupal) | — | /opt/drupal |
| drupal_web_root | The drupal web root directory. (Default: /opt/drupal/web) | — | /opt/drupal/web |
| postgres_db | The postgres database name. (Default: drupal) | — | drupal |
| postgres_user | The postgres database user. (Default: drupal) | — | drupal |
| postgres_password | The postgress database user password. (Default: drupal) | — | drupal |
| apache_user | The apache user. (Default: www-data) | — | www-data |
| apache_user_group | The apache user group. (Default: www-data) | — | www-data |
| drupal-version | The version of Drupal under which to run, if we need to know it. | — | ${{ matrix.drupal-version }} |
| experimental | If the execution should be permissive of errors. | — | ${{ matrix.experimental }} |
| drush-spec | Composer spec for acquiring drush. | — | drush/drush |
| do-leniency | — | — | true |
| lenient-packages | — | — | [] |
| matrix-patches | — | — | {} |
Outputs
no outputs