Skip to content

Commit

Permalink
chore: update versions of databases used on GitHub Actions:
Browse files Browse the repository at this point in the history
use MariaDB 11 and PostgreSQL 15
  • Loading branch information
alexislefebvre committed May 4, 2024
1 parent c80a62b commit f83a2d9
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ jobs:
symfony-version: "^7.0"

services:
mysql:
image: mysql:5.7
mariadb:
image: mariadb:11.0
env:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: acme
MARIADB_ROOT_PASSWORD: root
MARIADB_DATABASE: acme
ports:
- 3306:3306
postgresql:
image: postgres:9.6
image: postgres:15-alpine
env:
POSTGRES_USER: 'postgres'
POSTGRES_PASSWORD: 'postgres'
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.1'
services:
mariadb:
image: 'mariadb:11.0'
image: 'mariadb:11'
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=acme
Expand Down
1 change: 1 addition & 0 deletions tests/AppConfigMysql/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ doctrine:
dbname: acme
user: root
password: root
server_version: '15'
2 changes: 1 addition & 1 deletion tests/AppConfigMysqlUrl/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

doctrine:
dbal:
url: 'mysql://root:root@mariadb:3306/foobar'
url: 'mysql://root:root@mariadb:3306/foobar?serverVersion=11'
driver: pdo_mysql
1 change: 1 addition & 0 deletions tests/AppConfigPgsql/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ doctrine:
dbname: postgres
user: postgres
password: postgres
server_version: '15'

0 comments on commit f83a2d9

Please sign in to comment.