Skip to content
Open
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
25 changes: 25 additions & 0 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,31 @@ jobs:
if [ $EXIT_CODE -gt 128 ]; then
exit 1
fi
- name: Notify Slack
if: failure()
uses: ./.github/actions/notify-slack
with:
token: ${{ secrets.ACTION_MONITORING_SLACK }}
- name: Test Drupal
if: always()
run: |
php -i|grep memory_limit
echo memory_limit=256M > /etc/php.d/drupal.ini
git clone https://git.drupalcode.org/project/drupal.git drupal --depth=1
cd drupal
git rev-parse HEAD
php /usr/bin/composer install --no-progress --ignore-platform-reqs
export ASAN_OPTIONS=exitcode=139
export SIMPLETEST_BASE_URL=http://localhost:8888/
export SIMPLETEST_DB=sqlite://localhost/db/sqlite1
mkdir db
rm -f core/tests/Drupal/FunctionalTests/ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php
export DRUPAL_TYPES=Annotation,Assertion,ClassFinder,Drupal,Extension,File,Plugin,Render,tar,zip
php -dzend.assertions=1 vendor/bin/phpunit -c core/phpunit.xml.dist --testsuite unit,kernel --group $DRUPAL_TYPES || exit 1
php -dzend.assertions=1 vendor/bin/phpunit -c core/phpunit.xml.dist --testsuite unit,kernel --group Database || exit 1
export SIMPLETEST_DB=mysql://root:root@localhost/test
php -dzend.assertions=1 vendor/bin/phpunit -c core/phpunit.xml.dist --testsuite unit,kernel --group Database || EXIT_CODE=1
[ ${EXIT_CODE:-0} -gt 128 ] && exit 1 || exit 0
OPCACHE_VARIATION:
if: ${{ fromJson(inputs.branch).jobs.OPCACHE_VARIATION }}
services:
Expand Down
Loading