Skip to content

Commit

Permalink
test LTS MySQL versions (only), added MySQL 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
hrach committed Nov 16, 2024
1 parent 32bf77f commit 8c2bcb9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 17 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,14 @@ jobs:
runs-on: ubuntu-latest

services:
mysql57:
image: mysql:5.7
env:
MYSQL_DATABASE: nextras_dbal_test
MYSQL_ROOT_PASSWORD: root
ports:
- 3306:3306
options: >-
--health-cmd "mysqladmin ping -ppass"
--health-interval 10s
--health-start-period 10s
--health-timeout 5s
--health-retries 10
# MySQL LTS versions tested (https://endoflife.date/mysql)
mysql80:
image: mysql:8.0
ports:
- 3306:3306
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"
mysql84:
image: mysql:8.4
ports:
- 3307:3306
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"
Expand Down
8 changes: 4 additions & 4 deletions tests/databases.github.ini
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
[mysql 5.7]
[mysql 8.0]
driver = mysqli
host = "127.0.0.1"
database = nextras_dbal_test
username = root
password = root
port = 3306

[mysql 5.7pdo]
[mysql 8.0pdo]
driver = pdo_mysql
host = "127.0.0.1"
database = nextras_dbal_test
username = root
password = root
port = 3306

[mysql 8.0]
[mysql 8.4]
driver = mysqli
host = "127.0.0.1"
database = nextras_dbal_test
username = root
password = root
port = 3307

[mysql 8.0pdo]
[mysql 8.4pdo]
driver = pdo_mysql
host = "127.0.0.1"
database = nextras_dbal_test
Expand Down

0 comments on commit 8c2bcb9

Please sign in to comment.