From 244a12f11ef9cc1599e10b2f9db33cab252dc6a7 Mon Sep 17 00:00:00 2001 From: Chris Reynolds Date: Fri, 17 Jan 2025 10:32:09 -0700 Subject: [PATCH] we don't need to set up the database handled in wpunit helpers --- .github/workflows/lint-test.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lint-test.yml b/.github/workflows/lint-test.yml index 0367e5e..e1699c1 100644 --- a/.github/workflows/lint-test.yml +++ b/.github/workflows/lint-test.yml @@ -21,17 +21,12 @@ jobs: run: | composer install npm install - - name: Setup MySQL + - name: Start MySQL run: | sudo /etc/init.d/mysql start - mysql -e 'CREATE DATABASE IF NOT EXISTS wordpress_test;' -uroot -proot - mysql -e 'SHOW DATABASES;' -uroot -proot + mysqladmin -V - name: Setup WP-CLI uses: godaddy-wordpress/setup-wp-cli@1 - - name: Run Environment checks - run: | - php -v - mysqladmin -V - name: Run linter run: composer lint - name: Run tests