praxisdigital/moodle-test-action
Run PHPUnit tests for Moodle
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 2, 2026
- License
- None
Pinned Snippet
uses: praxisdigital/moodle-test-action@081f31d3b541f5af233e7957de4ca211476cf839 # v1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| plugin | Plugin name (component name). Optional override; if empty, it will be auto-detected from version.php. | no | "" |
| plugin-path | Plugin path | yes | — |
| php | PHP version | yes | — |
| moodle | Moodle version (branch, tag or commit) | yes | — |
| moodle_repository | Moodle repository, e.g. moodle/moodle | no | moodle/moodle |
| os | Operating system | yes | — |
| additional_phpunit_arguments | Additonal arguments to pass to phpunit | no | "" |
| org | Organization | no | praxisdigital |
| dependencies | Plugin dependencies. Format: org/repo@ref Example: | praxisdigital/assignsubmission_pxaiwriter@master praxisdigital/mod_smartlink@MOODLE_42_STABLE | no | "" |
| dbtype | Database type (mysqli, pgsql, sqlsrv) | no | mysqli |
| experimental | Is experimental run | no | false |
| PRIVATE_REPO_TOKEN | Token for private repositories | yes | — |
| fail_on_empty_test_suite | Fail the job if PHPUnit executes no tests | no | true |
Outputs
no outputs