Skip to content

Commit 1892dbf

Browse files
committed
Add Drupal to community build
run kernel and unit tests
1 parent db2ac3a commit 1892dbf

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/nightly.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,18 @@ jobs:
437437
uses: ./.github/actions/notify-slack
438438
with:
439439
token: ${{ secrets.ACTION_MONITORING_SLACK }}
440+
- name: Test Drupal
441+
if: always()
442+
run: |
443+
git clone https://git.drupalcode.org/project/drupal.git drupal --branch=11.x --depth=1
444+
cd drupal
445+
git rev-parse HEAD
446+
php /usr/bin/composer install --no-progress --ignore-platform-reqs
447+
export SIMPLETEST_DB='sqlite://./tests.db'
448+
vendor/bin/phpunit -c core/phpunit.xml.dist --testsuite=kernel || EXIT_CODE=$?
449+
if [ $EXIT_CODE -gt 128 ]; then
450+
exit 1
451+
fi
440452
OPCACHE_VARIATION:
441453
needs: GENERATE_MATRIX
442454
if: ${{ needs.GENERATE_MATRIX.outputs.branches != '[]' }}

0 commit comments

Comments
 (0)