matomo-org/Matomo Tests

Runs Matomo Tests

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 29, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: matomo-org/github-action-tests@244ee6912d2aa131c0b0e3127fab0d96af5f57fb # v1

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

namedescriptionrequireddefault
test-typeType of tests to runyesPluginTests
artifacts-passUI upload passno
artifacts-protectedprotect uploaded artifactsnofalse
plugin-nameName of the plugin to testno
mysql-driverMysql driver to use for testing. (Will be placed as config.ini.php setting)noPDO_MYSQL
ui-test-optionsAdditional options to run UI tests withno
phpunit-test-optionsAdditional options to run PHPUnit withno
php-versionPHP version to set up for testing. Can be any version supported by shivammathur/setup-phpyes""
node-versionNode version to set up for testingno""
redis-serviceIf true a redis master and sentinel will be set up before testingnofalse
mysql-serviceIf true a MySQL engine will be set up. notrue
mysql-engineMySQL database engine to use. Can be 'Mysql', 'Mariadb' or 'Tidb'noMysql
mysql-versionMysql version to use for testing. Defaults to '5.7' for 'Mysql', and 'latest' for 'Mariadb' or 'Tidb'no""
matomo-test-branchBranch 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-pluginsAdditional plugins to checkout before testing. space separated list of github slugs. e.g. matomo-org/pluginTasksTimetableno""
github-tokenToken used to checkout dependent plugins. Only required if private repo needs to be checked outno""
upload-artifactsDefines if produced build artifacts should be uploaded or not. Only relevant for System, Plugins and UI testsnofalse
setup-scriptAdditional setup script to run before starting tests. Can be used by plugin to e.g. set up LDAP or similar.no""
testomatioTo enable Testomat.io reporter for tests, Testomat.io token should be set via this inputno""
testomatio-force-reportFlag for whether to force uploading a report to Testomat.io instead of just push events. Only applies if the 'testomatio' token is set.nofalse

no outputs