matomo-org/Matomo Tests
Runs Matomo Tests
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 29, 2026
- License
- None
Pinned Snippet
uses: matomo-org/github-action-tests@244ee6912d2aa131c0b0e3127fab0d96af5f57fb # v1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| test-type | Type of tests to run | yes | PluginTests |
| artifacts-pass | UI upload pass | no | — |
| artifacts-protected | protect uploaded artifacts | no | false |
| plugin-name | Name of the plugin to test | no | — |
| mysql-driver | Mysql driver to use for testing. (Will be placed as config.ini.php setting) | no | PDO_MYSQL |
| ui-test-options | Additional options to run UI tests with | no | — |
| phpunit-test-options | Additional options to run PHPUnit with | no | — |
| php-version | PHP version to set up for testing. Can be any version supported by shivammathur/setup-php | yes | "" |
| node-version | Node version to set up for testing | no | "" |
| redis-service | If true a redis master and sentinel will be set up before testing | no | false |
| mysql-service | If true a MySQL engine will be set up. | no | true |
| mysql-engine | MySQL database engine to use. Can be 'Mysql', 'Mariadb' or 'Tidb' | no | Mysql |
| mysql-version | Mysql version to use for testing. Defaults to '5.7' for 'Mysql', and 'latest' for 'Mariadb' or 'Tidb' | no | "" |
| matomo-test-branch | Branch or tag name of Matomo to run plugin tests for. This can be either a specific name or maximum_supported_matomo or minimum_required_matomo. | no | "" |
| dependent-plugins | Additional plugins to checkout before testing. space separated list of github slugs. e.g. matomo-org/pluginTasksTimetable | no | "" |
| github-token | Token used to checkout dependent plugins. Only required if private repo needs to be checked out | no | "" |
| upload-artifacts | Defines if produced build artifacts should be uploaded or not. Only relevant for System, Plugins and UI tests | no | false |
| setup-script | Additional setup script to run before starting tests. Can be used by plugin to e.g. set up LDAP or similar. | no | "" |
| testomatio | To enable Testomat.io reporter for tests, Testomat.io token should be set via this input | no | "" |
| testomatio-force-report | Flag for whether to force uploading a report to Testomat.io instead of just push events. Only applies if the 'testomatio' token is set. | no | false |
Outputs
no outputs