File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,8 +30,11 @@ COPY .docker/images/govcms/mariadb-client.cnf /etc/my.cnf.d
3030# Copy application files from the 'cli' stage to the current stage
3131COPY --from=cli /app /app
3232
33+ # Install dev dependencies (e.g. PHPUnit) excluded from the CLI image.
34+ RUN composer install --dev
35+
3336# Copy PHPUnit configuration and test files
34- COPY --from=govcmstesting/tests:3.2.3-php8.3 / tests /app/tests
37+ COPY tests /app/tests
3538
3639# Set an environment variable for the webroot path
3740ENV WEBROOT=web
Original file line number Diff line number Diff line change 2222 },
2323 "require-dev" : {
2424 "drupal/core-dev" : " ^11.0" ,
25- "palantirnet/drupal-rector" : " ^0.20.3"
25+ "palantirnet/drupal-rector" : " ^0.20.3" ,
26+ "weitzman/drupal-test-traits" : " ^2.0" ,
27+ "dealerdirect/phpcodesniffer-composer-installer" : " ^1.0" ,
28+ "drevops/behat-format-progress-fail" : " ^1.0" ,
29+ "drevops/behat-screenshot" : " ^1.2" ,
30+ "drevops/behat-steps" : " ^2.1" ,
31+ "drupal/coder" : " ^8.3" ,
32+ "drupal/drupal-extension" : " ^5.0" ,
33+ "mglaman/drupal-check" : " ^1.4" ,
34+ "palantirnet/drupal-rector" : " ^0.20" ,
35+ "php-parallel-lint/php-console-highlighter" : " ^1.0" ,
36+ "php-parallel-lint/php-parallel-lint" : " ^1.3" ,
37+ "phploc/phploc" : " *" ,
38+ "phpmd/phpmd" : " *" ,
39+ "phpunit/phpunit" : " *" ,
40+ "symfony/dependency-injection" : " ^7" ,
41+ "symfony/event-dispatcher" : " ^7"
2642 },
2743 "conflict" : {
2844 "drupal/drupal" : " *"
You can’t perform that action at this time.
0 commit comments