Skip to content

Commit 03baf87

Browse files
committed
Revert these changes because install-testing.yml needs to remain compatible with older branches.
1 parent d5a6ce0 commit 03baf87

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/install-testing.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,20 @@ jobs:
8585
- db-version: '5.0'
8686
- db-version: '5.1'
8787
- db-version: '5.5'
88+
# The PHP <= 7.3/MySQL 8.4 jobs currently fail due to mysql_native_password being disabled by default. See https://core.trac.wordpress.org/ticket/61218.
89+
- php: '7.2'
90+
db-version: '8.4'
91+
- php: '7.3'
92+
db-version: '8.4'
8893
# Only test the latest innovation release.
8994
- db-version: '9.0'
9095
- db-version: '9.1'
9196
- db-version: '9.2'
97+
# MySQL 9.0+ will not work on PHP 7.2 & 7.3. See https://core.trac.wordpress.org/ticket/61218.
98+
- php: '7.2'
99+
db-version: '9.3'
100+
- php: '7.3'
101+
db-version: '9.3'
92102

93103
services:
94104
database:
@@ -103,7 +113,7 @@ jobs:
103113
-e MYSQL_ROOT_PASSWORD="root"
104114
-e MYSQL_DATABASE="test_db"
105115
--entrypoint sh ${{ matrix.db-type }}:${{ matrix.db-version }}
106-
-c "exec docker-entrypoint.sh mysqld"
116+
-c "exec docker-entrypoint.sh mysqld${{ matrix.db-type == 'mysql' && contains( fromJSON('["7.2", "7.3"]'), matrix.php ) && ' --default-authentication-plugin=mysql_native_password' || '' }}"
107117
108118
steps:
109119
- name: Set up PHP ${{ matrix.php }}

0 commit comments

Comments
 (0)