Skip to content

Commit 695ece8

Browse files
committed
fix test image
1 parent 3d5f2ab commit 695ece8

2 files changed

Lines changed: 21 additions & 2 deletions

File tree

.docker/Dockerfile.test

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff 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
3131
COPY --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
3740
ENV WEBROOT=web

composer.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,23 @@
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": "*"

0 commit comments

Comments
 (0)