Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .docker/Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@ COPY .docker/images/govcms/mariadb-client.cnf /etc/my.cnf.d
# Copy application files from the 'cli' stage to the current stage
COPY --from=cli /app /app

# Install dev dependencies (e.g. PHPUnit) excluded from the CLI image.
RUN composer install --dev

# Copy PHPUnit configuration and test files
COPY --from=govcmstesting/tests:3.2.3-php8.3 /tests /app/tests
COPY tests /app/tests

# Set an environment variable for the webroot path
ENV WEBROOT=web
18 changes: 17 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,23 @@
},
"require-dev": {
"drupal/core-dev": "^11.0",
"palantirnet/drupal-rector": "^0.20.3"
"palantirnet/drupal-rector": "^0.20.3",
"weitzman/drupal-test-traits": "^2.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"drevops/behat-format-progress-fail": "^1.0",
"drevops/behat-screenshot": "^1.2",
"drevops/behat-steps": "^2.1",
"drupal/coder": "^8.3",
"drupal/drupal-extension": "^5.0",
"mglaman/drupal-check": "^1.4",
"palantirnet/drupal-rector": "^0.20",
"php-parallel-lint/php-console-highlighter": "^1.0",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phploc/phploc": "*",
"phpmd/phpmd": "*",
"phpunit/phpunit": "*",
"symfony/dependency-injection": "^7",
"symfony/event-dispatcher": "^7"
},
"conflict": {
"drupal/drupal": "*"
Expand Down