Skip to content

Commit c388df9

Browse files
committed
Fix failing command on old MariaDB.
1 parent 990ae09 commit c388df9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/reusable-phpunit-tests-v3.yml

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

172172
- name: WordPress Docker container debug information
173173
run: |
174-
docker compose run --rm mysql ${{ env.LOCAL_DB_TYPE }} --version
174+
docker compose run --rm mysql ${{ env.LOCAL_DB_TYPE == 'mariadb' && contains( fromJSON('["5.5", "10.0", "10.1", "10.2", "10.3"]'), env.LOCAL_DB_VERSION ) && 'mysql' || env.LOCAL_DB_TYPE }} --version
175175
docker compose run --rm php php --version
176176
docker compose run --rm php php -m
177177
docker compose run --rm php php -i

0 commit comments

Comments
 (0)