syliuslabs/Build Sylius Test Application
Builds a Sylius plugin's test application with the given PHP, Sylius, Symfony, and database.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| build_type | Build type to be used | no | app |
| application_root_dir | Working directory for composer | no | . |
| application_test_dir | The application test directory to be used (useful for monorepos with isolation tests) | no | "" |
| cache_key | Cache key to be used | no | "" |
| cache_restore_key | Cache restore key to be used | no | "" |
| e2e | Whether prepare the test application for e2e tests | no | no |
| e2e_js | Whether prepare the test application for e2e tests with JS | no | no |
| console_path | Relative path to Symfony's console binary (overrides auto-detection) | no | "" |
| database | Database engine and version (e.g., 'mysql:8.4', 'postgres:16', 'mariadb:10.11') | no | mysql:8.4 |
| php_version | PHP version to be used | yes | — |
| php_extensions | PHP extensions to be installed | no | intl, gd, opcache, mysql, pdo_mysql, pgsql, pdo_pgsql |
| php_tools | PHP tools to be installed | no | symfony |
| php_coverage | PHP coverage driver | no | none |
| composer_ignore_platform_reqs | Whether to add --ignore-platform-reqs to composer install | no | no |
| composer_minimum_stability | Set minimum-stability in composer.json (e.g., 'stable', 'RC', 'beta', 'alpha', 'dev') | no | "" |
| composer_prefer_stable | Set prefer-stable in composer.json ('yes' or 'no') | no | "" |
| symfony_version | Symfony version to be used | yes | — |
| sylius_version | Sylius version to be used | no | "" |
| sylius_integration | Sylius integration to be used | no | "" |
| node_version | Node.js version to be used | no | 22.x |
| chrome_version | Chrome version to be used | no | stable |
| load_fixtures | Whether to load Sylius fixtures | no | yes |
| database_setup | Database setup strategy: 'migrations' runs doctrine:migrations:migrate, 'schema' runs doctrine:schema:create (useful for projects without migrations) | no | migrations |
| opcache_enable | Control OPcache configuration (yes=enable with optimal settings, no=disable, empty=use system defaults) | no | "" |
Outputs
no outputs