From e64a2c101b9acf4728f35b2a677d7b60152c8db1 Mon Sep 17 00:00:00 2001 From: peptiderepo <273788462+peptiderepo@users.noreply.github.com> Date: Tue, 14 Apr 2026 17:02:03 +0700 Subject: [PATCH] ci: skip db creation in install-wp-tests.sh (MySQL service already created it) Agent-Session: cowork-pr-theme-tests-20260414 --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f19618c..5edb6ee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,7 +102,8 @@ jobs: WP_CORE_DIR: /tmp/wordpress run: | chmod +x bin/install-wp-tests.sh - bin/install-wp-tests.sh wp_tests root root 127.0.0.1:3306 ${{ matrix.wp }} + # 6th arg = skip-database-creation: the MySQL service already created wp_tests via MYSQL_DATABASE env. + bin/install-wp-tests.sh wp_tests root root 127.0.0.1:3306 ${{ matrix.wp }} true - name: Run PHPUnit env: WP_TESTS_DIR: /tmp/wordpress-tests-lib