Skip to content

Commit f7fd9cc

Browse files
committed
Detect the database client name in the Docker container debug step.
1 parent 82fd972 commit f7fd9cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/unit-test.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ jobs:
179179

180180
- name: Docker container debug information
181181
run: |
182-
npm run wp-env -- run tests-mysql mysql -- --version
182+
npm run wp-env -- run tests-mysql -- sh -c 'if command -v mariadb > /dev/null; then mariadb --version; else mysql --version; fi'
183183
npm run wp-env -- run tests-wordpress php -- --version
184184
npm run wp-env -- run tests-wordpress php -m
185185
npm run wp-env -- run tests-wordpress php -i

0 commit comments

Comments
 (0)