Skip to content

Commit 1d3efa9

Browse files
committed
move migrate to a separate d11 only step
1 parent fed07a9 commit 1d3efa9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,8 @@ jobs:
3030
run: docker-compose exec -u ${DOCKER_USER_ID} -T php composer require --no-interaction --dev --no-update drupal/core:^${DRUPAL_VERSION} drupal/core-recommended:^${DRUPAL_VERSION}
3131
- name: composer install
3232
run: docker-compose exec -T php composer install
33+
- name: composer phpunit-configuration
34+
run: docker-compose exec -T php phpunit --migrate-configuration
35+
if: "${{ matrix.drupal_version == '11'}}"
3336
- name: composer test
3437
run: docker-compose exec -T php composer test

composer.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
},
3838
"scripts": {
3939
"lint": "XDEBUG_MODE=off parallel-lint src spec tests",
40-
"phpunit-configuration": "phpunit --migrate-configuration",
4140
"phpunit": "XDEBUG_MODE=coverage phpunit",
4241
"phpspec": "XDEBUG_MODE=off phpspec run -f pretty --no-interaction",
4342
"phpcs": "XDEBUG_MODE=off phpcs --standard=./phpcs-ruleset.xml .",
@@ -49,7 +48,6 @@
4948
"test": [
5049
"XDEBUG_MODE=off composer validate --no-interaction",
5150
"@lint",
52-
"@phpunit-configuration",
5351
"@phpunit",
5452
"@phpspec",
5553
"@phpcs",

0 commit comments

Comments
 (0)