tripal/Test Tripal Action
Run automated testing for a Tripal extension module.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| directory-name | The name of the directory your Tripal module or package was checked out into. | yes | — |
| modules | A space-separated list of module machine names indicating which modules to install before running tests. | yes | — |
| php-version | The version of PHP you would like tested. This must match one of the current PHP versions TripalDocker is available in (e.g. 8.3). | no | 8.4 |
| pgsql-version | The version of PostgreSQL you would like your tests run against. This must match one of the current versions TripalDocker is available in (e.g. 13, 16). | no | 18 |
| drupal-version | The version of Drupal you would like your tests run against. This must match one of the current versions TripalDocker is available in (e.g. 11.2.x-dev). | no | 11.2.x-dev |
| phpunit-config | The phpunit.xml file to configure the tests. If left blank, we will try to locate it using the following patters: (1) phpunit.VER.xml (where VER is 9 for drupal 10.4/5; 10 for drupal 11.1; 11 for drupal 11.2+), (2) phpunit.xml | no | — |
| phpunit-command-options | A string providing any options you would like added to the phpunit command. | no | "" |
| qltycloud-reporter-id | the reporter ID for QLTY Cloud to publish results to. This should be saved as a secret in your repository. | no | — |
| build-image | Indicates whether you would like to build the docker based on your code (true) or pull an existing image (false). | yes | false |
| dockerfile | The relative path and file name for the dockerfile to use with build-image. | yes | Dockerfile |
Outputs
| name | description |
|---|---|
| configfile | The filename of the phpunit.xml configuration file to use. |