Skip to content

Commit f845b3d

Browse files
committed
create the database in setup
1 parent 68488b5 commit f845b3d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/lint-test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ jobs:
6868
extensions: mysqli, zip, imagick
6969
- name: Start MySQL Service
7070
run: sudo systemctl start mysql
71+
- name: Create wordpress_test database
72+
run: |
73+
mariadb -h 127.0.0.1 -u root -e "CREATE DATABASE IF NOT EXISTS wordpress_test;"
7174
- name: Install Subversion
7275
run: |
7376
sudo apt-get update
@@ -88,7 +91,7 @@ jobs:
8891
- name: Setup WP Unit Tests
8992
run: |
9093
chmod +x ./bin/*.sh
91-
composer test:install:withdb
94+
composer test:install
9295
- name: Setup WP-CLI
9396
uses: godaddy-wordpress/setup-wp-cli@1
9497
- name: Run PHPUnit

0 commit comments

Comments
 (0)