From c4300665910570cd4667f92d1e9c4a90c21c9114 Mon Sep 17 00:00:00 2001 From: Mike Decker Date: Thu, 29 Aug 2024 08:08:39 -0700 Subject: [PATCH] fixup --- .github/workflows/tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2cc15d9..72b7a9b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,6 +28,7 @@ jobs: env: CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}} run: | + mysql -h 127.0.0.1 -u drupal -pdrupal -e 'CREATE DATABASE IF NOT EXISTS drupal' composer global require su-sws/stanford-caravan:10.x-dev ~/.config/composer/vendor/bin/sws-caravan phpunit /var/www/html --extension-dir=$GITHUB_WORKSPACE/project --with-coverage - name: Save Test Results @@ -60,7 +61,7 @@ jobs: env: CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}} run: | - mysql -h localhost -P 3306 -u drupal -pdrupal -e 'CREATE DATABASE drupal' + mysql -h 127.0.0.1 -P 3306 -u drupal -pdrupal -e 'CREATE DATABASE IF NOT EXISTS drupal' composer global require su-sws/stanford-caravan:11.x-dev ~/.config/composer/vendor/bin/sws-caravan phpunit /var/www/html --extension-dir=$GITHUB_WORKSPACE/project --with-coverage - name: Save Test Results