nbey/Drupal Module Tests + Coverage

Configures Composer dependencies, sets up a Drupal site, and runs PHPUnit with coverage.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Mar 31, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: nbey/drupal-custom-module-ci@1189b17d8dc2b96b940d6ef20fec699dca3a00ab # no releases — HEAD as of 2026-07-11

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

namedescriptionrequireddefault
action_refRef of the composite action repo to check outnomain
drupal_versionDrupal version to installno10
module_nameName of the custom moduleyes
repo_nameName of the custom module repositoryyes
repo_orgName of the custom module repository organizationyes
repo_refName of the custom module ref to checkoutyes
module_vendorVendor name of the custom moduleyes
module_dirDirectory path for the custom modulenoweb/modules/acp-composer
project_dirDirectory to install the Drupal projectno/tmp/drupal-site
composer_repositoriesList of repositories to add (supports YAML array format)no""
composer_gh_patGitHub Personal Access Token for Composerno
simpletest_dbDatabase URL for Simpletestnomysql://root:root@mysql:3306/drupal_test
working_directoryThe directory where the repository was checked outno${{ github.workspace }}

no outputs