nbey/Drupal Module Tests + Coverage
Configures Composer dependencies, sets up a Drupal site, and runs PHPUnit with coverage.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Mar 31, 2026
- License
- MIT
Pinned Snippet
uses: nbey/drupal-custom-module-ci@1189b17d8dc2b96b940d6ef20fec699dca3a00ab # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| action_ref | Ref of the composite action repo to check out | no | main |
| drupal_version | Drupal version to install | no | 10 |
| module_name | Name of the custom module | yes | — |
| repo_name | Name of the custom module repository | yes | — |
| repo_org | Name of the custom module repository organization | yes | — |
| repo_ref | Name of the custom module ref to checkout | yes | — |
| module_vendor | Vendor name of the custom module | yes | — |
| module_dir | Directory path for the custom module | no | web/modules/acp-composer |
| project_dir | Directory to install the Drupal project | no | /tmp/drupal-site |
| composer_repositories | List of repositories to add (supports YAML array format) | no | "" |
| composer_gh_pat | GitHub Personal Access Token for Composer | no | — |
| simpletest_db | Database URL for Simpletest | no | mysql://root:root@mysql:3306/drupal_test |
| working_directory | The directory where the repository was checked out | no | ${{ github.workspace }} |
Outputs
no outputs