Skip to content

Commit fea1813

Browse files
committed
Detect the database client name in the Docker container debug step.
1 parent 2c94fec commit fea1813

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
@@ -123,7 +123,7 @@ jobs:
123123

124124
- name: Docker container debug information
125125
run: |
126-
npm run wp-env -- run tests-mysql mysql -- --version
126+
npm run wp-env -- run tests-mysql -- sh -c 'if command -v mariadb > /dev/null; then mariadb --version; else mysql --version; fi'
127127
npm run wp-env -- run tests-wordpress php -- --version
128128
npm run wp-env -- run tests-wordpress php -m
129129
npm run wp-env -- run tests-wordpress php -i

0 commit comments

Comments
 (0)