Skip to content

Commit cb7887f

Browse files
committed
Set WP_CLI_TEST_DBTYPE for unit tests
1 parent 2f6fdb8 commit cb7887f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/testing.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ jobs:
171171
172172
- name: Run PHPUnit
173173
if: ${{ ! matrix.coverage }}
174+
# For example TestBehatTags.php in wp-cli-tests depends on the db type.
175+
env:
176+
WP_CLI_TEST_DBTYPE: 'sqlite'
174177
run: |
175178
composer phpunit
176179

0 commit comments

Comments
 (0)