@@ -71,52 +71,47 @@ jobs:
7171 runs-on : ubuntu-latest
7272
7373 services :
74- # MySQL LTS versions + very latest stable tested (https://endoflife.date/mysql)
75- mysql80 :
76- image : mysql:8.0
77- ports :
78- - 3306:3306
79- options : --health-cmd="mysqladmin ping -ppass" --health-interval=10s --health-timeout=5s --health-retries=5 -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=nextras_dbal_test --entrypoint sh mysql:8 -c "exec docker-entrypoint.sh mysqld --mysql-native-password=ON"
74+ # MySQL The last LTS version + the latest stable (https://endoflife.date/mysql)
8075 mysql84 :
8176 image : mysql:8.4
8277 ports :
83- - 3307 :3306
78+ - 3306 :3306
8479 options : --health-cmd="mysqladmin ping -ppass" --health-interval=10s --health-timeout=5s --health-retries=5 -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=nextras_dbal_test --entrypoint sh mysql:8 -c "exec docker-entrypoint.sh mysqld --mysql-native-password=ON"
85- mysql92 :
86- image : mysql:9.2
80+ mysql94 :
81+ image : mysql:9.4
8782 ports :
88- - 3308 :3306
83+ - 3307 :3306
8984 options : --health-cmd="mysqladmin ping -ppass" --health-interval=10s --health-timeout=5s --health-retries=5 -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=nextras_dbal_test --entrypoint sh mysql:8 -c "exec docker-entrypoint.sh mysqld --mysql-native-password=ON"
90- # Latest 2 MariaDD LTS versions tested (https://endoflife.date/mariadb)
91- mariadb1011 :
92- image : mariadb:10.11
85+ # MariaDD The last LTS version + the latest stable (https://endoflife.date/mariadb)
86+ mariadb1108 :
87+ image : mariadb:11.8
9388 env :
94- MYSQL_DATABASE : nextras_dbal_test
95- MYSQL_ROOT_PASSWORD : root
89+ MARIADB_DATABASE : nextras_dbal_test
90+ MARIADB_ROOT_PASSWORD : root
9691 ports :
9792 - 3406:3306
9893 options : >-
99- --health-cmd "mysqladmin ping -ppass "
94+ --health-cmd "healthcheck.sh --connect --innodb_initialized "
10095 --health-interval 10s
10196 --health-start-period 10s
10297 --health-timeout 5s
10398 --health-retries 10
104- mariadb1104 :
105- image : mariadb:11.4
99+ mariadb1200 :
100+ image : mariadb:12.0
106101 env :
107- MYSQL_DATABASE : nextras_dbal_test
108- MYSQL_ROOT_PASSWORD : root
102+ MARIADB_DATABASE : nextras_dbal_test
103+ MARIADB_ROOT_PASSWORD : root
109104 ports :
110105 - 3407:3306
111106 options : >-
112- --health-cmd "healthcheck.sh --su-mysql -- connect --innodb_initialized"
107+ --health-cmd "healthcheck.sh --connect --innodb_initialized"
113108 --health-interval 10s
114109 --health-start-period 10s
115110 --health-timeout 5s
116111 --health-retries 10
117112 # Newest and last supported version (https://endoflife.date/postgresql)
118- postgres13 :
119- image : postgres:13
113+ postgres14 :
114+ image : postgres:14
120115 env :
121116 POSTGRES_USER : postgres
122117 POSTGRES_PASSWORD : postgres
@@ -128,8 +123,8 @@ jobs:
128123 --health-interval 10s
129124 --health-timeout 5s
130125 --health-retries 5
131- postgres17 :
132- image : postgres:17
126+ postgres18 :
127+ image : postgres:18
133128 env :
134129 POSTGRES_USER : postgres
135130 POSTGRES_PASSWORD : postgres
@@ -168,7 +163,7 @@ jobs:
168163 run : docker exec -i mssql /opt/mssql-tools18/bin/sqlcmd -C -S localhost -U SA -P 'YourStrong!Passw0rd' -Q 'CREATE DATABASE nextras_dbal_test'
169164
170165 - name : Set up Timezones in MariaDB
171- run : docker exec $(docker ps -q --filter "ancestor=mariadb:11.4") bash -c "apt-get update && apt-get install -y tzdata && mariadb-tzinfo-to-sql /usr/share/zoneinfo 2>/dev/null | mariadb -u root -proot mysql"
166+ run : for container in $(docker ps -q --filter "ancestor=mariadb"); do docker exec "$container" bash -c "apt-get update && apt-get install -y tzdata && mariadb-tzinfo-to-sql /usr/share/zoneinfo 2>/dev/null | mariadb -u root -proot mysql"; done
172167
173168 - name : Setup PHP cache environment
174169 id : php-extensions-cache
0 commit comments