discoverygarden/PHPUnit Action

Runs configured PHPUnit Tests implemented in called repository.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 9, 2026
License
GPL 3.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: discoverygarden/phpunit-action@e69606999cbbe3a48fe28d3c25a546842bcf6530 # v1.6.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
composer-authComposer auth token necessary for accessing our composer project.no
composer_packageComposer 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_extensionThe 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_patchesAdditional composer patches that might be necessary to run the workflow.no{}
composer_package_prerequisitesrequire-dev modules required for the module.no
drupal_rootThe root drupal directory. (Default: /opt/drupal)/opt/drupal
drupal_web_rootThe drupal web root directory. (Default: /opt/drupal/web)/opt/drupal/web
postgres_dbThe postgres database name. (Default: drupal)drupal
postgres_userThe postgres database user. (Default: drupal)drupal
postgres_passwordThe postgress database user password. (Default: drupal)drupal
apache_userThe apache user. (Default: www-data)www-data
apache_user_groupThe apache user group. (Default: www-data)www-data
drupal-versionThe version of Drupal under which to run, if we need to know it.${{ matrix.drupal-version }}
experimentalIf the execution should be permissive of errors.${{ matrix.experimental }}
drush-specComposer spec for acquiring drush.drush/drush
do-leniencytrue
lenient-packages[]
matrix-patches{}

no outputs