Skip to content

Commit 7c29004

Browse files
committed
try creating wp-config.php
1 parent 2681f69 commit 7c29004

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/phpunit.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,16 @@ jobs:
105105
- name: Symlink plugin into WordPress installation
106106
run: ln -s "$GITHUB_WORKSPACE" /tmp/wordpress/wp-content/plugins/progress-planner
107107

108+
- name: Create wp-config.php for WP-CLI tests
109+
run: |
110+
wp config create \
111+
--path=/tmp/wordpress \
112+
--dbname=wordpress_tests \
113+
--dbuser=root \
114+
--dbpass='' \
115+
--dbhost=127.0.0.1:3306 \
116+
--skip-check
117+
108118
- name: Run unit tests - single site
109119
run: composer test
110120

0 commit comments

Comments
 (0)