Skip to content

Commit 16f8c0c

Browse files
committed
Fix old PHP and new MySQL.
1 parent d74dc7a commit 16f8c0c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/reusable-upgrade-testing.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ jobs:
7575
--health-retries="5"
7676
-e MYSQL_ROOT_PASSWORD="root"
7777
-e MYSQL_DATABASE="test_db"
78+
--entrypoint sh ${{ matrix.db-type }}:${{ matrix.db-version }}
79+
-c "exec docker-entrypoint.sh mysqld${{ matrix.db-type == 'mysql' && contains( fromJSON('["5.4", "5.5", "5.6", "7.0", "7.1", "7.2", "7.3"]'), matrix.php ) && ( matrix.db-version == '8.4' && ' --mysql-native-password=ON --authentication-policy=mysql_native_password' || ' --default-authentication-plugin=mysql_native_password' ) || '' }}"
7880
7981
steps:
8082
- name: Set up PHP ${{ inputs.php }}

0 commit comments

Comments
 (0)